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
obfresult= ["__=$(. 2>&1);","___=$(/ 2>&1);","__=${__##*.};",'___=$(${__:4:1}c$(printf "\x68")o $___|cut -d":" -${__:1:1}2-);'] | |
obfchain={ | |
"a" => '${__:6:1}', | |
"b" => '$(printf "%b\n" $(printf "%s%x" "\x" 98))', | |
"c" => '${___:13:1}', | |
"d" => '${___:9:1}', | |
"e" => '${__:4:1}', | |
"f" => '${__:1:1}', | |
"g" => '${__:13:1}', | |
"h" => '$(printf "\x68")', |
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 sys | |
code = """for i in range(1,100): | |
if i%3 == 0 or "3" in str(i): | |
print("3!!!") | |
else: | |
print(i)""" | |
test = list(code) |
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
from Crypto.PublicKey import RSA | |
import hashlib | |
import base64 | |
import sys | |
def OnionDomainGen(): | |
RSAkey = RSA.generate(1024) | |
privateKey = RSAkey.exportKey('PEM') | |
publicKey = RSAkey.publickey().exportKey('DER') |
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
(defun range(n m) | |
(if (> n m) | |
() | |
(cons n (range (+ n 1) m) | |
) | |
) | |
) | |
(defun fizzbuzz(i) | |
(cond ((eq 0 (mod i 3)) (print "Fizz")) |
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
using System; | |
using System.Collections.Generic; | |
class DecodeCaesarTool { | |
public static void Main(string[] args) { | |
if(args.Length == 0 ) { | |
Console.WriteLine("DecodeCaesar.exe <cipher text>"); | |
}else{ | |
for(int i = 1;i<26;i++) { | |
List<char> r = DecodeCaesar(args[0],i); | |
Console.WriteLine("seed:{0},{1}",i,new String(r.ToArray())); |
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/python | |
import socket | |
import sys | |
if 3 > len(sys.argv): | |
print "%s <target> <wordlist>" %(sys.argv[0]) | |
sys.exit() | |
with open(sys.argv[2],'rb') as f: |
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/python | |
import sys | |
from netaddr import * | |
import socket | |
from paramiko import SSHClient,AutoAddPolicy | |
argv = sys.argv | |
argc = len(argv) | |
if 3 > argc: | |
print "usage:%s <ipaddress/subnetmask> <user> <dictionary>" %(argv[0]) | |
exit() |
NewerOlder