RE: Serbot – Advanced Controller/Server/Client Reverse Shell/Bot – Windows/Linux – Python 12-03-2014, 09:40 PM
#7
(12-03-2014, 07:03 PM)Reiko Wrote: >considered as one of the best Reverse Shells
>no TTY
HAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHA
I generally like you, but no. This is far from a good reverse shell.
It doesn't support any of the functionality of a real shell (bash, zsh, etc.) and handles its commands poorly. Checking if a string is in a received message does not equal checking what the user intended to do. For example, what if I wanted to do this:
What would that do in your shell? Nothing like what I wanted.Code:mkdir cd ; ls ./cd
Furthermore "except: pass" is not appropriate error handling in every situation. You could be introducing weird bugs into your code without raising any exceptions, and you could also be raising exceptions in the middle of critical sections.
Well, if you're a bash 1 liner and a silly bitch that for some reason wants to create a dir called "cd" then this shell ain't for you Lol.
But you're right, it's not great but it's still one of the best when compared to all these public, php and python shells or netcat etc.
Also, about the Pass part, you're right, that's what everyone knows and talks about but the Try statements used in Serbot are not for error catching at all, they're there just in case something bad happened; the shell won't die and that's why I use pass. Every try statement is within a loop, if an error is found then everything will start all over again which isn't as bad as you think.
Also, every "critical" section was well dealt with as far as I know, it's all well tied up, give it a try mate, I'm ready to fix it if it's worth it. Serbot isn't a l337 hax0ring tool but it gets the job done pretty well and I've decided to share it, nothing more.