-
May 6th, 2013, 03:15 AM
#1
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
-
May 6th, 2013, 03:29 AM
#2
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.
-
May 6th, 2013, 03:31 AM
#3
Re: C++ HTTP Flood code ported to C++ bot source
I also have the required #include header files.
-
May 6th, 2013, 04:02 AM
#4
Re: C++ HTTP Flood code ported to C++ bot source
Best regards,
Igor
-
May 6th, 2013, 08:04 AM
#5
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. All my code is tested (unless stated explicitly otherwise) with the latest version of Microsoft Visual Studio (using the supported features of the latest standard) and is offered as examples only - not as production quality. I cannot offer advice regarding any other c/c++ compiler/IDE or incompatibilities with VS. You are ultimately responsible for the effects of your programs and the integrity of the machines they run on. Anything I post, code snippets, advice, etc is licensed as Public Domain https://creativecommons.org/publicdomain/zero/1.0/ and can be used without reference or acknowledgement. Also note that I only provide advice and guidance via the forums - and not via private messages!
C++23 Compiler: Microsoft VS2022 (17.6.5)
-
May 6th, 2013, 12:09 PM
#6
Re: C++ HTTP Flood code ported to C++ bot source
Yes I have all of those header files.
-
May 6th, 2013, 12:20 PM
#7
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. All my code is tested (unless stated explicitly otherwise) with the latest version of Microsoft Visual Studio (using the supported features of the latest standard) and is offered as examples only - not as production quality. I cannot offer advice regarding any other c/c++ compiler/IDE or incompatibilities with VS. You are ultimately responsible for the effects of your programs and the integrity of the machines they run on. Anything I post, code snippets, advice, etc is licensed as Public Domain https://creativecommons.org/publicdomain/zero/1.0/ and can be used without reference or acknowledgement. Also note that I only provide advice and guidance via the forums - and not via private messages!
C++23 Compiler: Microsoft VS2022 (17.6.5)
-
May 6th, 2013, 12:23 PM
#8
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?
-
May 6th, 2013, 12:48 PM
#9
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. All my code is tested (unless stated explicitly otherwise) with the latest version of Microsoft Visual Studio (using the supported features of the latest standard) and is offered as examples only - not as production quality. I cannot offer advice regarding any other c/c++ compiler/IDE or incompatibilities with VS. You are ultimately responsible for the effects of your programs and the integrity of the machines they run on. Anything I post, code snippets, advice, etc is licensed as Public Domain https://creativecommons.org/publicdomain/zero/1.0/ and can be used without reference or acknowledgement. Also note that I only provide advice and guidance via the forums - and not via private messages!
C++23 Compiler: Microsoft VS2022 (17.6.5)
-
May 6th, 2013, 12:58 PM
#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.
-
May 6th, 2013, 01:17 PM
#11
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. All my code is tested (unless stated explicitly otherwise) with the latest version of Microsoft Visual Studio (using the supported features of the latest standard) and is offered as examples only - not as production quality. I cannot offer advice regarding any other c/c++ compiler/IDE or incompatibilities with VS. You are ultimately responsible for the effects of your programs and the integrity of the machines they run on. Anything I post, code snippets, advice, etc is licensed as Public Domain https://creativecommons.org/publicdomain/zero/1.0/ and can be used without reference or acknowledgement. Also note that I only provide advice and guidance via the forums - and not via private messages!
C++23 Compiler: Microsoft VS2022 (17.6.5)
-
May 6th, 2013, 01:22 PM
#12
Re: C++ HTTP Flood code ported to C++ bot source
Originally Posted by 2kaud
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.
-
May 6th, 2013, 01:12 PM
#13
Re: C++ HTTP Flood code ported to C++ bot source
All advice is offered in good faith only. All my code is tested (unless stated explicitly otherwise) with the latest version of Microsoft Visual Studio (using the supported features of the latest standard) and is offered as examples only - not as production quality. I cannot offer advice regarding any other c/c++ compiler/IDE or incompatibilities with VS. You are ultimately responsible for the effects of your programs and the integrity of the machines they run on. Anything I post, code snippets, advice, etc is licensed as Public Domain https://creativecommons.org/publicdomain/zero/1.0/ and can be used without reference or acknowledgement. Also note that I only provide advice and guidance via the forums - and not via private messages!
C++23 Compiler: Microsoft VS2022 (17.6.5)
-
May 6th, 2013, 01:16 PM
#14
Re: C++ HTTP Flood code ported to C++ bot source
-
May 6th, 2013, 01:48 PM
#15
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. All my code is tested (unless stated explicitly otherwise) with the latest version of Microsoft Visual Studio (using the supported features of the latest standard) and is offered as examples only - not as production quality. I cannot offer advice regarding any other c/c++ compiler/IDE or incompatibilities with VS. You are ultimately responsible for the effects of your programs and the integrity of the machines they run on. Anything I post, code snippets, advice, etc is licensed as Public Domain https://creativecommons.org/publicdomain/zero/1.0/ and can be used without reference or acknowledgement. Also note that I only provide advice and guidance via the forums - and not via private messages!
C++23 Compiler: Microsoft VS2022 (17.6.5)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|