HynekPetrak / sshame

brute force SSH public-key authentication
MIT License
75 stars 16 forks source link

Making scapy check optional #3

Open realalexandergeorgiev opened 1 year ago

realalexandergeorgiev commented 1 year ago

Hey, its a really cool tool! I really love the speed and interface!!

I had issues running it via SOCKS proxy. I believe its due to scapy using raw sockets/interfaces. I didnt want to dig too deep into it, as its only used to verify ports open. I think it would great to have the option to disable port checks and expect them to be open.

KR

PS: i forked it and made my workaround public

HynekPetrak commented 1 year ago

Feel free even to submit a PR

realalexandergeorgiev commented 1 year ago

i dont know how the interface you use works (and i am a really bad coder). here is the code i used to disable the checks:

https://github.com/HynekPetrak/sshame/compare/master...realalexandergeorgiev:sshame:master

hosolom commented 1 year ago

I thought it would be cooler to be able to compile into static files, is there a way to compile into separate binaries, using Pyinstaller a bunch of errors are driving me crazy

HynekPetrak commented 1 year ago

@realalexandergeorgiev added the feature via 1b80de96e007b590ac882260a67122477609aa31. By default scapy will be disabled, you may enable with -s (not tested yet). There is still some issues in run_cmd, so I'm not going to make a new release yet.