![]() |
|
[PHP] [flood.php] - kinda like ddos - Printable Version +- Hack Forums (https://hackforums.net) +-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444) +--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151) +---- Forum: Web Development (https://hackforums.net/forumdisplay.php?fid=183) +---- Thread: [PHP] [flood.php] - kinda like ddos (/showthread.php?tid=5238214) |
[flood.php] - kinda like ddos - ImDeepWithWindows - Apr 15, 2016 im mostly posting this to get my 50 posts so i can finally put posts in the market section and include urls in my posts but here it is an old php script i had on my comp that sends raw text of your choice through a port on the remote ip, can be used to ddos one specific protocol if u know what port theyre useing for that protocol (usually the defaults, incomming http is 80 incomming ftp is 21 etc) on the remote host Code if (!$_REQUEST['targ']) {* - Sakuto - Apr 15, 2016 This is a shitty share, especially since you're doing it just to get post. I've a bad news for you, you also need reputation ;) * - ASDA - Apr 15, 2016 my favourite thing is that you open a new socket each iteration. what the fuck is this shit * - ImDeepWithWindows - Apr 18, 2016 (Apr 15, 2016 03:30 AM)ASDA Wrote: my favourite thing is that you open a new socket each iteration. i was thinking it would b more obnoxious to have tons of extra lines in their logs saying "new connection at port #nn at mm/dd/yyyy hh:mm" cuz some of the free webhosting services out there do let u pull up a log of connects made to unexpected ports like besides 80 and 21 and https port and ping port etc but now that i think about it after u pointing that out it might not be a good idea cuz it might just get the ip of whatev free webhosting service youre useing to run this php script automatically blocked for a while depending on what youre useing it on but anyway atm im average with php and this was from years ago when i definitely was not so ofc its gonna have something inefficient in it * - Remix - Apr 19, 2016 (Apr 15, 2016 03:30 AM)ASDA Wrote: what the fuck is this shit Wanted to post literally the same * - Squito - Apr 19, 2016 First of all INDENTING!!!! The first row... PHP has isset() and empty() for a reason! Also if you keep opening connections to the target server over and over again the remote server (if configured correctly) will disable your IP after a few connections, because it will be detected as flooding. Also there are two methods to send a form: "GET" and "POST". Don't use $_REQUEST, unless information can come (and allowed to come) from both sources (GET and POST), don't be lazy! And as a sidenote: stay consistent regarding the formatting. * - DataBuster - Jan 20, 2017 Haven't I seen you in the Batch Section? :D Nice post tho, thanks :) |