moloch-- / sliver-py

A Python gRPC Client Library for Sliver
GNU General Public License v3.0
62 stars 13 forks source link

Crash on file upload #1

Closed pooki3bear closed 3 years ago

pooki3bear commented 3 years ago

I've bolted the code below into both examples Automatically Interact With New Sessions (Async) , and Automatically Interact With New Sessions (Threads) from https://github.com/moloch--/sliver-py/blob/master/docs/getting-started.rst

During the upload the implant crashes, and the timeout is eventually reached.

interact = await client.interact(event.Session.ID)
file = open("myfile.exe", "rb")
fb = file.read()
ul = await interact.upload("testfile1234", fb, encoder='gzip')
moloch-- commented 3 years ago

Possibly related to https://github.com/BishopFox/sliver/issues/380

moloch-- commented 3 years ago

Fix in: https://github.com/BishopFox/sliver/pull/407