This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
""" | |
Build a wordlist based on a google search. | |
Scrapes only the first page of results. | |
Requires requests and BeautifulSoup modules. | |
Antonio Herraiz - 2015 | |
""" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// and this is how you handle this | |
function t($code) { | |
echo "."; // just to detect how many inceptions there were | |
$code = base64_decode($code); | |
$code = gzinflate($code); | |
$m = array(); | |
if (preg_match('/base64_decode\(\"(.+)\"\)/', $code, $m)) { | |
return t($m[1]); | |
} |