Skip to content

A web-daemon written in python to paste data in your terminal, eg. on your server!

License

Notifications You must be signed in to change notification settings

beepaste/pastecat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 

Repository files navigation

pastecat

Server Side Script For Using nc To Paste The Output On A Pastebin

Use git clone https://github.com/beepaste/pastecat.git && cd pastecat

Then run python pastecat.py

Installation:

Clone this repo and run install.sh. :)

Manual Installation:

just clone this repo on your server, then copy the pastecat.py to /usr/bin/ and pastecat to /etc/init.d/ (for init systems) or pastecat.service to /etc/systemd/system/ (for systemd systems).

Don't forget to check if both files are executable, and the settings on the pastecat.py are ok!

Usage:

you need netcat installed inorder to send the output to pastebin.

Pipe Your Command to nc host 1111 To Send The Output

NOTE: You can use pastecat without nc using the following alias:

Bash, ZSH:

alias bp="(exec 3<>/dev/tcp/nc.beepaste.io/1111; cat >&3; cat <&3; exec 3<&-)"

Usage:

echo this is a test! | bp

Example:

uname -a | nc nc.beepaste.io 1111

About

A web-daemon written in python to paste data in your terminal, eg. on your server!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published