Flag: Tornado! Hurricane!

 Forums >>  Brainstorms - General  >>  Dealing with Sulley and pedrpc severed connection

Topic created on: February 14, 2011 16:30 CST by nomnom .

Hey folks, first timer here.

I've got Sulley up and running, and it's doing great. However, every so often the client running the session will stop sending, and I'll discover the server running process monitor has this error :

"PED-RPC> connection to client severed during send()"

Now this seems fairly simple. It's coming from pedrpc.py from these couple of lines of code :

        try:
            self.__client_sock.send(struct.pack("<L", len(data)))
            self.__client_sock.send(data)
        except:
            sys.stderr.write("PED-RPC> connection to client severed during send()\n")
            raise Exception

So, my question is, what is the best way to deal with senario? On the client side performing the fuzzing, if I just 'ctrl+c' the session, it exit out of the current test case, and continue on to the next, and all is fine and dandy. That's on the client's side that is doing the fuzzing though.

What I'm thinking is simply putting a call to  __disconnect - instead of raising an exception. Does this make sense? I don't mind missing a single test case out of every thousand or so (i think?). So hopefully the client side will realize the connection has ended, and just continue to the next one.

Thanks for the input :)

No posts found under this topic.
Note: Registration is required to post to the forums.

There are 29,956 total registered users.


Recently Created Topics
pydbg load vs attach
Jun/19
pydbg bp_set_mem
Jun/18
Disassembling Motoro...
Jun/13
ida plugin writing f...
Jun/02
New version of RE-Go...
May/29
Decompiling raw bina...
May/22
Incorrect bitness wh...
May/20
PaiMei stalker modul...
May/19
Attach to program us...
May/13
IDA PRO how to make ...
May/12


Recent Forum Posts
pydbg load vs attach
kitochou
pydbg bp_set_mem
kitochou
pydbg, memory breakp...
kitochou
Good Binary Code Pro...
alton
Int 3 anti debug?
SteveIRQL
Attach to program us...
SteveIRQL
Ollydbg 2.0 - Plugin...
openrce...
IDA PRO how to make ...
codeinject
FACT: OpenRCE is dead.
codeinject
IDA Resource Viewer ...
r2x64


Recent Blog Entries
26yyg1kf
Jun/19
your muscles get larger Men...

26yyg1kf
Jun/19
Mens 2011 Vibram Classic fo...

26yyg1kf
Jun/19
Vivo Barefoots up to Discou...

kitochou
Jun/18
pydbg

lowpriority
Apr/13
OllyMigrate Plugin for Olly...

More ...


Recent Blog Comments
capadleman on:
Jun/19
Using NtCreateThreadEx for ...

newlulu on:
Jun/10
Branch tracing and LBR acce...

newlulu on:
Jun/10
Advanced debugging techniques

newlulu on:
Jun/10
2 anti-trace mechanisms spe...

newlulu on:
Jun/10
OllyMigrate Plugin for Olly...

More ...


Imagery
SoySauce Blueprint
Jun 6, 2008

[+] expand

View Gallery (11) / Submit