Skip to content

cristianzsh/pystebin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pystebin

Your own command line based pastebin server in Python

How to use

Start the server:

$ sudo python3 pystebin.py

Use Netcat along with cat or echo to send data to server:

$ echo "Hello world!" | nc SERVER 9090
$ cat some_file | nc SERVER 9090

The server is configured to return a 5 digit string with the stored file ID. Use curl to see the contents:

$ curl http://SERVER/ACB5X

About

Your own command line based pastebin server in Python

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages