Results 1 to 3 of 3

Thread: [ personal knowledge issue] Having trouble compiling this one Share/Save - My123World.Com!

  1. #1

    [ personal knowledge issue] Having trouble compiling this one

    *Full disclosure - I am permitted to exploit the target I am facing*

    Here is the exploit I am trying to compile.

    Code:
    http://www.exploit-db.com/exploits/23/
    I took that code and saved it in a file and named it thc.c

    then ran gcc -o thc thc.c

    I got some errors...
    Then I tried to compile it with the command the author wrote in the beginning of the exploit, but BT5 doesn't know what "cl" is, and suggested I try to download cl-launch.

    The Author said this should be compiled with MSVC++ compiler, but there is nothing like that in BT...
    Can you guys offer any help or guidance on this issue?

    Thanks so much, and this is my 1st post btw

  2. #2
    Garage Addict 41.w4r10r's Avatar
    Join Date
    Jul 2010
    Location
    Pune
    Posts
    338
    Blog Entries
    3
    MSVC++ it comes with Microsoft Visual Studio. download and install MS Visual Studio in Windows and compile it.
    Last edited by 41.w4r10r; 02-18-2013 at 09:32 PM.

  3. #3
    This file cannot be compiled on linux as its written using Winsocks,
    for msvc use the following command line

    cl 23.c ws2_32.lib


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •