Single Query
whois -h whois.cymru.com 8.8.8.8
Single Verbose Output
whois -h whois.cymru.com " -v 8.8.8.8"
#!/bin/bash | |
#https://github.com/FranklyFuzzy | |
FILE=$1 | |
while read name | |
do | |
echo "dnsrecon being ran on $name" | |
python dnsrecon.py -d $name -t axfr -c output/$name-dns.csv | |
done < $FILE | |
#can add - echo "test $name" to confirm reading file by line |
echo 'what username will we use today?' | |
read varuser | |
echo 'what password will we use today?' | |
read varpw | |
for s in `cat servers.txt` ; do | |
echo; echo $s Starting | |
sshpass -p ''$varpw'' scp -r $varuser@$s:/etc/yum /home/user/Desktop/output/$s-yum | |
sshpass -p ''$varpw'' scp -r $varuser@$s:/etc/yum.repos.d /home/user/Desktop/output/$s-yum.repos | |
echo $s 'Done' |
#d2 printer | |
x = input('Type your text: ') | |
print(x.replace('o','ꚛ').replace('O','Ꚛ')) |
x = input('Type your text: ') | |
d='' | |
for i in x: | |
if i == 'o': | |
i=i.replace('o','ꚛ') | |
d+=i | |
elif i == 'O': | |
i=i.replace('O','Ꚛ') | |
d+=i | |
else: |
#Found an issue where going from negative to positive int removes space so just shift starting positive int then shift back negative the same int. | |
text = input('what is the text: ') | |
key = input('What is the shift: ') | |
for i in text: | |
uni = ord(i) | |
encode = int(uni) + int(key) | |
print(chr(encode), end='') | |
#print(i, uni) |
op = input('encode or decode? ') | |
text = input('what is the text: ') | |
key = input('What is the shift: ') | |
if op == 'encode': | |
for i in text: | |
uni = ord(i) | |
encode = int(uni) + int(key) | |
print(chr(encode), end='') | |
else: |
#!/bin/bash | |
if [ "$1" == "talos" ]; then | |
open "https://talosintelligence.com/reputation_center/lookup?search=$2" | |
elif [ "$1" == "whois" ]; then | |
whois -h whois.cymru.com " -v $2" | |
elif [ "$1" == "vt" ]; then | |
open "https://www.virustotal.com/gui/ip-address/$2" | |
elif [ "$1" == "vtHash" ]; then | |
open "https://www.virustotal.com/gui/search/$2" |
grep -E -o 'CVE-[0-9]{4}-[0-9]{1,5}' test.csv | sort | uniq | sort > output.csv |