Skip to content

Instantly share code, notes, and snippets.

@ecwright3
ecwright3 / file-io.py
Created March 21, 2018 15:20
Quick script to load files into file.io
import requests
myFile = {'file':open("[file/path.txt]", 'rb')}
r = requests.post("https://file.io", files=myFile)
link = False
if r.json()['status']:
link = r.json()['link']
print(link)
@ecwright3
ecwright3 / honeypot.py
Created March 8, 2018 20:36 — forked from omnidan/honeypot.py
HONEYPOT.PY | A simple honeypot written in python.
#!/usr/bin/env python
"""
Copyright (c) 2011, Daniel Bugl
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright