Skip to content

Instantly share code, notes, and snippets.

@antonioherraizs
antonioherraizs / google_wordlist_gen.py
Created August 30, 2015 14:14
Script to generate a wordlist from a google search
#!/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
"""
@antonioherraizs
antonioherraizs / deception.php
Last active August 30, 2017 08:59 — forked from koto/1.php
<?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]);
}