Skip to content

Instantly share code, notes, and snippets.

View demo.py
import httpy
req = httpy.get('http://httpbin.org/robots.txt')
req.status # => 200
req.data # => 'User-agent: *\nDisallow: /deny'
View app.rb
require './ruby_on_lane.rb'
# Schema
Schema.define('hello_app_database') do
table :users do
column :string, :name
column :int, :age
end
end
View 221 duplicate rules from rockyou-3000.rule
Checked 30000 rules in 42339.266s
Found 29779 uniq rules from 30000 total (99.263%).
Found duplicate o0a i1k with ^a o1k
Found duplicate o0a i1u with ^a o1u
Found duplicate ^3 ^4 o22 i31 r with ^4 o13 i22 i31 r
Found duplicate o0p i1h with ^p o1h
Found duplicate o0t i1y with ^t o1y
Found duplicate o0s i1i with ^s o1i
Found duplicate ^d o1d with o0d i1d
Found duplicate ^j o1o i2e with ^o ^j o2e
View hashcat-rules-uniq.pl
# use Digest::xxHash qw/xxhash64/; # many collisions
use Digest::SHA qw(sha512_hex);
use File::Temp qw/tempfile/;
use Data::Dumper;
use strict;
use warnings;
use Time::HiRes qw(time);
my $wordlist = 'C:\pentest\lab\temp\hashcat-wlist.txt';
# my $wordlist = 'C:\pentest\lab\temp\test.txt';
View hashcat-rules-generate-wordlist.pl
use String::Random;
use Data::Dumper;
use Time::HiRes qw(time);
my $str = String::Random->new();
$str->{'w'} = [ @{$str->{'C'}}, @{$str->{'c'}} ];
$str->{'N'} = [ @{$str->{'w'}}, @{$str->{'n'}} ];
use constant {
STR_NUM => 100,