![]() |
|
[PHP] CLI Bing Dorker - 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] CLI Bing Dorker (/showthread.php?tid=5167680) |
CLI Bing Dorker - Hieroglyphicz - Feb 12, 2016 This allows you to enter a search term, a number of pages to scan and returns the SQLi vulnerable pages as best as it can. It's not super in depth and you could definitely expand a lot on it's tests but just somthing I wrote out of boredom earlier: PHP Code * - stackoverflowin - Feb 12, 2016 Eh, the logic of this is fine. But the quality of the script is just horrible, check out the PHP standards: http://www.php-fig.org/psr/psr-1/ It'll improve your coding style -- right now it's just a jumbled mess. You might want to port this over to a class and use Guzzle for the HTTP requests. PHP Code Please, no! * - Hieroglyphicz - Feb 12, 2016 (Feb 12, 2016 09:45 AM)StackOverlowin Wrote: Eh, the logic of this is fine. But the quality of the script is just horrible, check out the PHP standards: http://www.php-fig.org/psr/psr-1/ Thanks yeah I'll read back up. I've been locked up and in rehab the last year or so, so I'm a little rusty but I probably should do a bit a re-reading. Thanks * - stackoverflowin - Feb 12, 2016 Also you've made a common mistake; PHP Code * - Hieroglyphicz - Feb 12, 2016 (Feb 12, 2016 10:58 AM)StackOverlowin Wrote: Also you've made a common mistake; Oh I've actually never thought about that, thanks |