CRYPT70

anibus

Oct 1st, 2019
186
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 6.74 KB | None | 0 0
  1. Crypto = include_lib("/lib/crypto.so")
  2. if not Crypto then
  3.     Crypto = include_lib(hostShell.host_computer.current_path + "/crypto.so")
  4. end if
  5. hostShell = get_shell()
  6. remoteShell = hostShell.connect_service (TBD_server, 22, TBD_su_login, TBD_su_pass)
  7.  
  8. menu1 = null
  9. while menu1 != "exit"
  10.  
  11. i1 = 0
  12. r1 = 0
  13. r2 = 0
  14.  
  15. parent = remoteShell.host_computer.File(TBD + "/bsiXresults")
  16. files = parent.get_files
  17. for file in files
  18.     r2 = r2 + 1
  19. end for
  20. parent = hostShell.host_computer.File(home_dir + "/AnubisXfiles/bsiXresults")
  21. files = parent.get_files
  22. for file in files
  23.     i1 = i1 + 1
  24. end for
  25. parent = hostShell.host_computer.File(home_dir + "/AnubisXfiles/bsiXresults/Decip")
  26. files = parent.get_files
  27. for file in files
  28.     r1 = r1 + 1
  29. end for
  30.  
  31. print( "<b>Anubis</b>(0.1a) by <b>IICUX</b>\nLOCAL:" )
  32. print( "[EXIT] close program" )
  33. print( "[11] Dont deciphering files ( " + i1 + " ) " )
  34. print( "[12] Deciphering files ( " + r1 + " ) " )
  35. print( "[13] Go Decipher files " )
  36. print( "[14] Build all banks file " )
  37. print( "SERVER:" )
  38. print( "[21] Dont deciphering files ( " + r2 + " ) " )
  39. print( "[22] Move SERVER files to LOCAL " )
  40. print( "HACK:" )
  41. print( "[31] BSI, port 22" )
  42. print( "[32] BSI, port 80" )
  43. print( "[33] BSI, AGRESSIVE" )
  44.  
  45. menu1 = user_input("Please select number:")
  46. if menu1 == 11 then
  47.     parent = hostShell.host_computer.File(home_dir + "/AnubisXfiles/bsiXresults")
  48.     files = parent.get_files
  49.     i11 = 0
  50.     for file in files
  51.         i11 = i11 + 1
  52.         print ( "[" + i11 + "] " + file.name )
  53.     end for
  54.     //check = 0
  55.     //for check == 0
  56.     print ("use <b>c(heck)/d(elete) [FileID]</b>")
  57.     menu11 = user_input("Please select:").split(" ")
  58.     if (menu11[0] == "c" or menu11[0] == "check") then
  59.         print ("LOCAL(Dont deciphering files):")
  60.         parent = hostShell.host_computer.File(home_dir + "/AnubisXfiles/bsiXresults")
  61.         files = parent.get_files
  62.         i = 0
  63.         for file in files
  64.             i = i + 1
  65.             if i == menu11[1].to_int then
  66.                 print ( file.name + "\n" + file.content )
  67.             end if
  68.         end for
  69.     else if (menu11[0] == "d" or menu11[0] == "delete") then
  70.         //  check = 1000
  71.         print ("LOCAL(Dont deciphering files):")
  72.         parent = hostShell.host_computer.File(home_dir + "/AnubisXfiles/bsiXresults")
  73.         files = parent.get_files
  74.         i = 0
  75.         for file in files
  76.             i = i + 1
  77.             if i == menu11[1].to_int then
  78.                 print ( file.name + "(DELETED)\n" + file.content )
  79.                 file.delete
  80.             end if
  81.         end for
  82.     end if
  83.     //end for
  84. end if
  85.  
  86. if menu1 == 12 then
  87.     parent = hostShell.host_computer.File(home_dir + "/AnubisXfiles/bsiXresults/Decip")
  88.     files = parent.get_files
  89.     i11 = 0
  90.     for file in files
  91.         i11 = i11 + 1
  92.         print ( "[" + i11 + "] " + file.name )
  93.     end for
  94.     //check = 0
  95.     //for check == 0
  96.     print ("use <b>c(heck)/d(elete) [FileID]</b>")
  97.     menu11 = user_input("Please select:").split(" ")
  98.     if (menu11[0] == "c" or menu11[0] == "check") then
  99.         print ("LOCAL(Dont deciphering files):")
  100.         parent = hostShell.host_computer.File(home_dir + "/AnubisXfiles/bsiXresults/Decip")
  101.         files = parent.get_files
  102.         i = 0
  103.         for file in files
  104.             i = i + 1
  105.             if i == menu11[1].to_int then
  106.                 print ( file.name + "\n" + file.content )
  107.             end if
  108.         end for
  109.     else if (menu11[0] == "d" or menu11[0] == "delete") then
  110.         //  check = 1000
  111.         print ("LOCAL(Dont deciphering files):")
  112.         parent = hostShell.host_computer.File(home_dir + "/AnubisXfiles/bsiXresults/Decip")
  113.         files = parent.get_files
  114.         i = 0
  115.         for file in files
  116.             i = i + 1
  117.             if i == menu11[1].to_int then
  118.                 print ( file.name + "(DELETED)\n" + file.content )
  119.                 file.delete
  120.             end if
  121.         end for
  122.     end if
  123.     //end for
  124. end if
  125.  
  126. if menu1 == 21 then
  127.     parent = remoteShell.host_computer.File(TBD + "/bsiXresults")
  128.     files = parent.get_files
  129.     i11 = 0
  130.     for file in files
  131.         i11 = i11 + 1
  132.         print ( "[" + i11 + "] " + file.name )
  133.     end for
  134.     //check = 0
  135.     //for check == 0
  136.     print ("use <b>c(heck)/d(elete) [FileID]</b>")
  137.     menu11 = user_input("Please select:").split(" ")
  138.     if (menu11[0] == "c" or menu11[0] == "check") then
  139.         print ("LOCAL(Dont deciphering files):")
  140.         parent = remoteShell.host_computer.File(TBD + "/bsiXresults")
  141.         files = parent.get_files
  142.         i = 0
  143.         for file in files
  144.             i = i + 1
  145.             if i == menu11[1].to_int then
  146.                 print ( file.name + "\n" + file.content )
  147.             end if
  148.         end for
  149.     else if (menu11[0] == "d" or menu11[0] == "delete") then
  150.         //  check = 1000
  151.         print ("LOCAL(Dont deciphering files):")
  152.         parent = remoteShell.host_computer.File(TBD + "/bsiXresults")
  153.         files = parent.get_files
  154.         i = 0
  155.         for file in files
  156.             i = i + 1
  157.             if i == menu11[1].to_int then
  158.                 print ( file.name + "(DELETED)\n" + file.content )
  159.                 file.delete
  160.             end if
  161.         end for
  162.     end if
  163.     //end for
  164. end if
  165.  
  166. if menu1 == 13 then
  167.     parent = hostShell.host_computer.File(home_dir + "/AnubisXfiles/bsiXresults")
  168.     files = parent.get_files
  169.     for file in files
  170.         Decips = file.content.split("\n")
  171.         for Decip in Decips
  172.             if Decip == "USERS:" then
  173.                 Vivod = Decip
  174.             else if Decip == "BANKS:" then
  175.                 Vivod = Vivod + "\n" + Decip
  176.             else
  177.                 Decip2 = Decip.split(":")
  178.                 if Decip2.len == 2 then
  179.                     Vivod = Vivod + "\n" + Decip2[0] + ":" + Crypto.decipher(Decip2[0], Decip2[1])
  180.                 else
  181.                     Vivod = Vivod + "\n" + Decip
  182.                 end if
  183.             end if
  184.         end for
  185.         print (home_dir + "/AnubisXfiles/bsiXresults/Decip/" + file.name )
  186.         file.move(home_dir + "/AnubisXfiles/bsiXresults/Decip", file.name)
  187.         hostShell.host_computer.File(home_dir + "/AnubisXfiles/bsiXresults/Decip/" + file.name).set_content( Vivod )
  188.     end for
  189. end if
  190.  
  191. if menu1 == 22 then
  192.     parent = remoteShell.host_computer.File(TBD + "/bsiXresults")
  193.     files = parent.get_files
  194.     for file in files
  195.         remoteShell.scp_upload(TBD + "/bsiXresults/" + file.name, home_dir + "/AnubisXfiles/bsiXresults", hostShell)
  196.         file.delete
  197.     end for
  198. end if
  199.  
  200. if menu1 == 14 then
  201.     parent = hostShell.host_computer.File(home_dir + "/AnubisXfiles/bsiXresults/Decip")
  202.     files = parent.get_files
  203.     Vivod = ""
  204.     for file in files
  205.         filecon = file.content.split("\n")
  206.         if file.name == "banks" then
  207.             Vivod = filecon + "\n" + Vivod
  208.         else
  209.             aer = 0
  210.             for fc in filecon
  211.                 if aer == 1 then
  212.                     Vivod = Vivod + "\n" + fc
  213.                 else if fc == "BANKS:" then
  214.                     aer = 1
  215.                 end if
  216.             end for
  217.         end if
  218.     end for
  219.     print ("BANK DATABASE:\n" + Vivod )
  220. end if
  221.  
  222. if menu1 == 31 then
  223.     menu31 = user_input("Please enter IP to atack:")
  224.     hostShell.launch(home_dir + "/AnubisXfiles/bsi", menu31 + " 22 " + TBD_server + " " + TBD_Anubis_pass)
  225. end if
  226.  
  227. if menu1 == 32 then
  228.     menu31 = user_input("Please enter IP to atack:")
  229.     hostShell.launch(home_dir + "/AnubisXfiles/bsi", menu31 + " 80 " + TBD_server + " " + TBD_Anubis_pass)
  230. end if
  231.  
  232. if menu1 == 33 then
  233.     menu31 = user_input("Please enter IP to atack:")
  234.     hostShell.launch(home_dir + "/AnubisXfiles/bsi", menu31 + " a " + TBD_server + " " + TBD_Anubis_pass)
  235. end if
  236. end while
Advertisement
Add Comment
Please, Sign In to add comment