Update testing README, rename file to match README and add small test suite

winlogon-autologon^2
Alexander Neff 2024-03-27 20:17:05 +01:00
parent 840b4dd834
commit cec36e7e24
3 changed files with 13 additions and 1 deletions

View File

@ -5,7 +5,7 @@
* Run `pytest` (or `poetry run pytest`)
### End to End Tests
* Install nxc (either in venv or via Poetry)
* Install nxc (either in venv or via Poetry): `poetry install --with dev`
* Run `python tests/e2e_tests.py -t $IP -u $USER -p $PASS`, with optional `-k` parameter
* Poetry: `poetry run python tests/e2e_tests.py -t $IP -u $USER -p $PASS`
* To see full errors (that might show real errors not caught by checking the exit code), run with the `--errors` flag

12
tests/loading_tests.txt Normal file
View File

@ -0,0 +1,12 @@
# Load every protocol
netexec winrm 127.0.0.1
netexec vnc 127.0.0.1
netexec smb 127.0.0.1
netexec ldap 127.0.0.1
netexec wmi 127.0.0.1
netexec rdp 127.0.0.1
netexec mssql 127.0.0.1
netexec ssh 127.0.0.1
netexec ftp 127.0.0.1
# Load Modules
netexec smb 127.0.0.1 -M veeam