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
example: rcracki_mt -h 5d41402abc4b2a76b9719d911017c592 -t 2 [path]/MD5 | |
rcracki_mt -l hash.txt [path_to_specific_table]/* | |
rcracki_mt -f hash.txt -t 4 -o results.txt *.rti | |
[ec2-user@ip-10-153-169-57 rcracki_mt]$ echo -n hello |md5sum | |
5d41402abc4b2a76b9719d911017c592 - |
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
sudo qemu-kvm -net tap,script=/bin/true -net nic,model=virtio -drive if=virtio,file=openwrt-x86-kvm_guest-combined-ext4.img -sdl |
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
input { | |
file { | |
path => "/var/log/tomcat7/access.log" | |
type => "apache-access" | |
} | |
} | |
filter { | |
grok { | |
type => "apache-access" |
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
{ | |
"bool": { | |
"must": [ | |
{ | |
"range": { | |
"@timestamp": { | |
"from": "1384813641058", | |
"to": "1384816485502" | |
} | |
} |
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
registers = { | |
'pointer' : 0, | |
'ip' : 0, | |
} | |
space = [0]*30000 | |
program =[] | |
import sys | |
def inc_p(): | |
registers['pointer'] += 1 |
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
application = tornado.web.Application([ | |
(r"/()$", tornado.web.StaticFileHandler, {'path':'static/index.html'}), | |
(r"/(.*)", tornado.web.StaticFileHandler, {'path':'static/'}), | |
]) |
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
import math | |
number = 2000 | |
accumulator = [] | |
for a in range(2,number): | |
prime = True | |
for b in range(2,int(math.sqrt(a))): | |
if a % b == 0: | |
prime = False | |
if prime: | |
accumulator.append(a) |
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
<html> | |
<head> | |
<style> | |
.classDate { | |
margin: 0; | |
margin-top: 5px; | |
font-weight: bold; | |
color: #B70000!important; | |
font: Verdana, Helvetica, Arial, sans-serif; | |
} |
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
smtpd_banner = $myhostname ESMTP $mail_name | |
biff = no | |
append_dot_mydomain = no | |
readme_directory = no | |
smtpd_tls_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem | |
smtpd_tls_key_file=/etc/ssl/private/ssl-cert-snakeoil.key | |
smtpd_use_tls=yes | |
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache | |
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache | |
myhostname = cryptomail |
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
#Ripped savagely from https://forum.openwrt.org/viewtopic.php?id=42259 | |
opkg remove ppp* uhttpd luci* kmod-ppp* --force-removal-of-dependent-packages | |
opkg update | |
opkg install kmod-fs-ext4 kmod-usb-storage | |
opkg install block-mount | |
mount /dev/sda1 /mnt | |
mkdir /tmp/root | |
mount -o bind / /tmp/root |