make lan server test only a few ports, add run time test grace period in service detection attack prevetion mechanism
This commit is contained in:
parent
5751468e8a
commit
7205189d62
2 changed files with 5 additions and 2 deletions
|
@ -10,7 +10,7 @@ import logger
|
|||
|
||||
def test_lan_server(testmanager):
|
||||
start_time = get_epoch()
|
||||
for i in range(1024, 65536):
|
||||
for i in range(1337, 1340):
|
||||
try:
|
||||
if requests.get(f"http://{best_ip}:{i}/ping").text == 'onionr!':
|
||||
bl = insert('test data')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue