Pull Request: Add a Module to See Previous Logins
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 35/100
Direzione di ricerca
The proposal is a new info module that reads previously stored sessions from the smb.db SQLite file and reports whether each login had System or Administrator rights, selected with -M info and -id=. The payload names no repository file or test, so first locate the existing module loader and the database layer in NetExec. The external script at quahac/Netexec-Module-Info is the only existing implementation, and the maintainers would need to agree on the design before it lands in the repository.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
The current NetExec tool does not allow users to quickly check past connections and their access rights. It relies only on the nxcdb or sqlite database files, like smb.db. Because of this limitation, users often have to try multiple login requests to find different login information, which can be time-consuming and inefficient.
I suggest creating a new module called Info to provide a faster way to check past connections. I have a working solution:
This module is designed to check the smb.db file for previously connected sessions. It verifies if the connection was established with System or Administrator rights when accessing the host.
Example Usage
┌──(root㉿X)-[~]
└─# nxc -t 512 smb 192.168.56.108
SMB 192.168.56.108 445 DC1 [*] Windows Server 2008 R2 Enterprise 7600 x64 (name:DC1) (domain:domain.com) (signing:True) (SMBv1:True)
┌──(root㉿X)-[~]
└─# nxc -t 512 smb 192.168.56.108 -M info <--
SMB 192.168.56.108 445 DC1 [*] Windows Server 2008 R2 Enterprise 7600 x64 (name:DC1) (domain:domain.com) (signing:True) (SMBv1:True)
INFO 192.168.56.108 445 DC1 [+] (Pwnd3!) domain.com\Administrator:password1 -id=393 <--
┌──(root㉿X)-[~]
└─# nxc -t 512 smb 192.168.56.108 -id=393 <--
SMB 192.168.56.108 445 DC1 [*] Windows Server 2008 R2 Enterprise 7600 x64 (name:DC1) (domain:domain.com) (signing:True) (SMBv1:True)
SMB 192.168.56.108 445 DC1 [+] domain.com\Administrator:password1 (Pwn3d!)
Script source:
https://github.com/quahac/Netexec-Module-Info
- Lingua principale
- Python
- Stelle
- 6k
- Fork
- 803
- Merge medio
- 2g 13h
- PR unite (30g)
- 23
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di Pennyw0rth/NetExec
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
Pennyw0rth/NetExec#1544 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
Pennyw0rth/NetExec#1542 ·
I maintainer di solito rispondono entro 1 giorno
-
dependencies
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 75/100
Pennyw0rth/NetExec#1198 · 1 commento · 1 reazione ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 22/100
Pennyw0rth/NetExec#1502 · 1 reazione ·
I maintainer di solito rispondono entro 1 giorno
-
Speed improvements tracking (load time, exec waits, Kerberos)Forse già presa Una pull request collegata a questa issue è aperta o già unita. Aperta
Difficoltà 5/5 Più di una settimana Idoneità per principianti 12/100
Pennyw0rth/NetExec#1478 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di Pennyw0rth/NetExec
Issue simili
-
bug game: 0100FF500E34A000 game: 0400FF500E34A001 mac packing
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 2 giorni
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
jxxghp/MoviePilot#7576 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 88/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 64/100
jbaruch/software-factory#266 ·
I maintainer di solito rispondono entro 1 giorno
-
cron: raise a distinct error when next_fire finds no match in its search bound (from #813 item 5)Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
I maintainer di solito rispondono entro 1 giorno