noptrix / sshprank

A fast SSH mass-scanner, login cracker and banner grabber tool using the python-masscan and shodan module.
http://www.nullsecurity.net/
162 stars 44 forks source link

high memory usage #9

Closed mr-459 closed 3 years ago

mr-459 commented 4 years ago

hi i want to brute force 370 000 ips with 10 000 pw but script use 14gb memory for that its very much please optimize memory usage

noptrix commented 4 years ago

@mr-459 ok thx. will optimize it.

mr-459 commented 4 years ago

@mr-459 ok thx. will optimize it.

my suggestion to optimize: create servers.txt file and dont ue momry as that create credential.txt file and dont use memory as that then in status.ini file you write witch pw on witch server has tested for example: pw 1 until sevrer 5247 tested or pw 843 on tested until server 98023

script save status every mineate and now memory usage is only for connection and it get's used about 300mb in 1000 thered

noptrix commented 3 years ago

@mr-459 sorry for the delay :) should be fixed now...