GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - infodox/python-pty-shells: Python PTY backdoors - full PTY or nothing!

BranchesTags
Open more actions menu

Latest commit

 

History

17 Commits
17 Commits

Folders and files

NameName
Last commit message
Last commit date
.gitattributes
.gitattributes
 
 
.gitignore
.gitignore
 
 
LICENCE.md
LICENCE.md
 
 
README.md
README.md
 
 
sctp_pty_backconnect.py
sctp_pty_backconnect.py
 
 
sctp_pty_bind.py
sctp_pty_bind.py
 
 
sctp_pty_shell_handler.py
sctp_pty_shell_handler.py
 
 
tcp_pty_backconnect.py
tcp_pty_backconnect.py
 
 
tcp_pty_bind.py
tcp_pty_bind.py
 
 
tcp_pty_shell_handler.py
tcp_pty_shell_handler.py
 
 
udp_pty_backconnect.py
udp_pty_backconnect.py
 
 
udp_pty_bind.py
udp_pty_bind.py
 
 

Repository files navigation

python-pty-shells

Python PTY backdoors - full PTY or nothing!

Insecurety Research (2013)

The following is a collection of bind and reverse shells which give you a fully working PTY.

This is far superior to a normal bind or reverse shell, as you have job control and an interactive PTY and can do such things as use nano/vi to write files, su to elevate privs/change user, and ssh onward. You can also CTRL+C and suchlike.

I have implemented the bind and backconnect shells using the TCP protocol, the SCTP protocol, and the UDP protocol.

A demonstration video and blog post explaining the advantages/disadvantages of each technique is on the way, I just need to get around to it.

For the SCTP shell, you will need the PySCTP module and the host will need to support the SCTP protocol. Most modern Linux boxes do, however you may need to install lksctp and lksctp-dev to build the python extensions. I am unsure if pyinstaller or similar can get around this.

Released under the WTFPL - wtfpl.net

Project by Insecurety Research - insecurety.net

Author: Darren 'infodox' Martyn.

About

Python PTY backdoors - full PTY or nothing!

insecurety.net

Resources

Readme
WTFPL license
Activity

Stars

754 stars

Watchers

32 watching

Forks

203 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.