C++ HTTP Flood code ported to C++ bot source
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Page 1 of 2 12 LastLast
Results 1 to 15 of 18

Thread: C++ HTTP Flood code ported to C++ bot source

  1. #1
    Join Date
    May 2013
    Posts
    10

    C++ HTTP Flood code ported to C++ bot source

    Hello. I am stress testing my webservers and I need someone to code or port a C++ HTTP GET flood onto this C++ bot sourcecode. I believe I will need GetTickCount so I can specify the duration of the flood as well. I already have the C++ HTTP Flood .cpp and .h files but have no clue how to put it together onto this source. This will be easier to do over Teamviewer as I'm already using C++ 6.0 and have been with no issues. Please let me know if you can help. It would be appreciated.

    Thanks

  2. #2
    Join Date
    May 2013
    Posts
    10

    Re: C++ HTTP Flood code ported to C++ bot source

    httpflood.cpphttpflood.hhttpflood.cpphttpflood.h

    I have attached the two primary files and code which I need ported over to my C++ sourcecode.

  3. #3
    Join Date
    May 2013
    Posts
    10

    Re: C++ HTTP Flood code ported to C++ bot source

    I also have the required #include header files.

  4. #4
    Join Date
    Nov 2000
    Location
    Voronezh, Russia
    Posts
    5,970

    Re: C++ HTTP Flood code ported to C++ bot source

    Best regards,
    Igor

  5. #5
    Join Date
    Dec 2012
    Location
    England
    Posts
    2,360

    Re: C++ HTTP Flood code ported to C++ bot source

    If you want to compile and use the provided code then you are some header files missing. In addition to what you have provided, you also need

    main.h
    mainctrl.h
    utility.h
    ddos.h

    I'm not sure this sort of code belongs on codeguru as it can be used to do an illegal remote denial of service attack.

    Moderator - can you have a look at this please.
    All advice is offered in good faith only. You are ultimately responsible for effects of your programs and the integrity of the machines they run on.

  6. #6
    Join Date
    May 2013
    Posts
    10

    Re: C++ HTTP Flood code ported to C++ bot source

    Yes I have all of those header files.

  7. #7
    Join Date
    Dec 2012
    Location
    England
    Posts
    2,360

    Re: C++ HTTP Flood code ported to C++ bot source

    So why don't you just compile them and use the resulting .exe program? What's the problem?
    All advice is offered in good faith only. You are ultimately responsible for effects of your programs and the integrity of the machines they run on.

  8. #8
    Join Date
    May 2013
    Posts
    10

    Re: C++ HTTP Flood code ported to C++ bot source

    I am getting tons of errors. The base of the code is different from the base of the sourcecode. I had a friend a few years ago who ported something by changing some variables or things on the code. Do you mind if I send you the sourcecode where the HTTP code is going to?

  9. #9
    Join Date
    Dec 2012
    Location
    England
    Posts
    2,360

    Re: C++ HTTP Flood code ported to C++ bot source

    If you post links to those header files the same way as you did for the .cpp code in your post #2 then I'll take a quick look to see what the problem is with the compile. Note that I use Microsoft VS.
    All advice is offered in good faith only. You are ultimately responsible for effects of your programs and the integrity of the machines they run on.

  10. #10
    Join Date
    May 2013
    Posts
    10

    Re: C++ HTTP Flood code ported to C++ bot source

    main.hmainctrl.hutility.hhttpflood.h

    I attached them. If you think you can help, you can remotely do this on my computer via Teamveiwer as I'm using Visual C++ 6.0. Teamviewer is a program used to connect to a partner and fully control and view their computer. From my experience, the sourcecode may not compile with Visual C++ 2010.

  11. #11
    Join Date
    Dec 2012
    Location
    England
    Posts
    2,360

    Re: C++ HTTP Flood code ported to C++ bot source

    Also need ddos.h
    All advice is offered in good faith only. You are ultimately responsible for effects of your programs and the integrity of the machines they run on.

  12. #12
    Join Date
    May 2013
    Posts
    10

    Re: C++ HTTP Flood code ported to C++ bot source

    ddos.h

    Ok here.

  13. #13
    Join Date
    Dec 2012
    Location
    England
    Posts
    2,360

    Re: C++ HTTP Flood code ported to C++ bot source

    If you look at mainctrl.h and utility.h you'll see another bunch of includes that are required!
    All advice is offered in good faith only. You are ultimately responsible for effects of your programs and the integrity of the machines they run on.

  14. #14
    Join Date
    May 2013
    Posts
    10

    Re: C++ HTTP Flood code ported to C++ bot source

    Quote Originally Posted by 2kaud View Post
    If you look at mainctrl.h and utility.h you'll see another bunch of includes that are required!
    Well here is the sourcecode where these files came from
    http://rapidshare.com/files/278902175/agobot3-priv4.zip

    I was unable to upload it to the board.

  15. #15
    Join Date
    Dec 2012
    Location
    England
    Posts
    2,360

    Re: C++ HTTP Flood code ported to C++ bot source

    Ok Got it. I'll have a look at it and get back to you in a couple of days.
    All advice is offered in good faith only. You are ultimately responsible for effects of your programs and the integrity of the machines they run on.

Page 1 of 2 12 LastLast

Posting Permissions

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


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center