Skip to content
Extraits de code Groupes Projets
Valider cf808390 rédigé par LaplongeJunior's avatar LaplongeJunior Validation de Thomas Saquet
Parcourir les fichiers

New documentation : list of all known npc ports

parent 4b10d8b0
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
if params.len != 1 or params[0] == "-h" or params[0] == "--help" then exit(command_info("scanlib_usage"))
metaxploit = include_lib("/lib/metaxploit.so")
if not metaxploit then exit("Error: Missing metaxploit library")
libFile = get_shell.host_computer.File(params[0])
if not libFile then exit("can't find library: " + params[0])
print("Scanning memory address...")
metaLib = metaxploit.load(libFile.path)
listMem = metaxploit.scan(metaLib)
index = 1
for itemMem in listMem
print(index +": [" + itemMem + "]")
index = index + 1
end for
if listMem.len == 0 then exit("Scan completed: No issues detected.")
print("Scan completed: detected issues in " + listMem.len + " memory zones.")
option = ""
inputOk = false
while( not inputOk )
option = user_input("Select memory index: ").to_int
if typeof(option) != "number" or (option < 1 or option > listMem.len) then
print("Invalid input. Type a valid number")
else
inputOk = true
end if
end while
print("Scanning for vulnerabilities at memory zone: " + listMem[option - 1])
print(metaxploit.scan_address(metaLib, listMem[option - 1]))
\ No newline at end of file
if params.len != 1 or params[0] == "-h" or params[0] == "--help" then exit(command_info("scanrouter_usage"))
metaxploit = include_lib("/lib/metaxploit.so")
if not metaxploit then
currentPath = get_shell.host_computer.current_path
metaxploit = include_lib(currentPath + "/metaxploit.so")
end if
if not metaxploit then exit("Error: Can't find metaxploit library in the /lib path or the current folder")
address = params[0]
if is_lan_ip(address) then exit("Error: only public IPs are allowed")
net_session = metaxploit.net_use( address )
if not net_session then exit("Error: can't connect to net session")
libKernel = net_session.dump_lib
libName = "kernel_router.so"
print("Searching " + libName +" ...")
if not libKernel then exit("Error: kernel_router.so not found")
print("kernel_router.so found! version: " + libKernel.version)
\ No newline at end of file
Sites web existants
Shop
Université
Banque (spécifique au site)
Mail (spécifique au site)
Hackshop
+ Maintenance (nouveau httpserver)
Ports
5 chiffres = service dupliqué sur le LAN
TOUS
Nécessaires pour le piratage
/etc/passwds Mots de passe (notement root)
/var/system.log Logs à effacer
/sys/xorg.sys Crash permanent : effacer + reboot
/sys/config.sys Crash permanent : effacer + reboot
/sys/network.cfgCrash permanent : effacer + reboot
Réutilisables plus tard
/root/Config/Mail.txt + /home/USER/Config/Mail.txt
==> /root/Config/Bank.txt + /home/USER/Config/Bank.txt
==> /lib/net.so (version spécifique)
==> /lib/kernel_module.so(version spécifique)
==> /lib/init.so (version spécifique)
Services au shop
21 ftp
/server/ftpd (on/off)
/server/conf/ftpd.conf (vide)
/Public/Downloads/ (vide par défaut, utilisé pour le ftp)
==> /lib/libftp.so (version spécifique)
22 ssh
/server/sshd (on/off)
/server/conf/sshd.conf (vide)
==> /lib/libssh.so (version spécifique)
80 http
/server/httpd (on/off)
/server/conf/httpd.conf (vide)
/Public/htdocs/downloads/ (vide sauf cas particuliers plus bas)
==> /Public/htdocs/website.html (design du site)
==> /lib/libhttp.so (version spécifique)
6667 chat
/server/chatd (on/off)
==> /server/conf/chatd.conf (non-vide!)
==> /lib/libchat.so (version spécifique)
Services NPCs
0 router (metaexploit)
8080 router (http)
80-bis shop
==> /Public/htdocs/downloads/NAME.V.E.R (OUTILS GRATOS!)
80-ter hackshop
==> /Public/htdocs/downloads/NAME.V.E.R (OUTILS GRATOS!)
/server/missions.db
25 smtp
/server/conf/smtpd.conf (contient le tld)
/server/conf/UserConfig.sys (vide)
/server/smtpd (ne fonctionne pas!)
==> /lib/libsmtp.so (version spécifique)
141+3306+3307 (sql)
==> /lib/libsql.so (version spécifique)
141 bank_account
/server/conf/account.db
/server/conf/Transactions/ (vide?)
/server/accountsd (ne fonctionne pas!)
3306/3307 employees
/server/conf/employees.db
/server/employeesd (ne fonctionne pas!)
==> /bin/EmployeesViewer.exe
3306 students
/server/conf/students.db
/server/studentsd (ne fonctionne pas!)
==> /bin/StudentsViewer.exe
3307 criminals
/server/conf/criminals.db
/server/criminald (ne fonctionne pas!)
==> /bin/PoliceRecord.exe
/home/USER/trafficNetwork (inutile mais cool + récupérable)
\ No newline at end of file
You are here : https://usine.solution-libre.fr/qtg/grey-hack
GreyHack disord : TBA
GHTools disord : TBA
Source code of all vanilla commands : https://steamcommunity.com/sharedfiles/filedetails/?id=1906204725
GHTools CodeDocs : https://codedocs.ghtools.xyz/
GHtools challenge : https://ghtools.xyz/unauth
man program : https://pastebin.com/9Kd5Qtuh
english manual : https://justpaste.it/38j0e
french manual : https://justpaste.it/edit/29222846/ff00ea51daa2faae
\ No newline at end of file
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter