Skip to content

Instantly share code, notes, and snippets.

Bertrand Janin tamentis

Block or report user

Report or block tamentis

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@tamentis
tamentis / gist:458247c568d3ac91da59
Last active Aug 29, 2015
ftp(1) / tnftp(1) RCE
View gist:458247c568d3ac91da59
#!/usr/bin/env python
#
# ftp http://127.0.0.1:8000/one
#
# As per http://www.openwall.com/lists/oss-security/2014/10/28/4
#
import SimpleHTTPServer
import BaseHTTPServer
import SocketServer
View gist:970d3020a4e5f9a5c69e
### Keybase proof
I hereby claim:
* I am tamentis on github.
* I am tamentis (https://keybase.io/tamentis) on keybase.
* I have a public key whose fingerprint is B70C 2620 CA86 1D59 363D C01B 947E 6ABE 6453 194A
To claim this, I am signing this object:
View gist:7159750a992b80f132f1
b02:~/tmp/two$ time hg clone --profile ssh://somehost//hg/myrepo
requesting all changes
adding changesets
adding manifests
adding file changes
added 15202 changesets with 21203 changes to 1753 files (+8 heads)
updating to branch default
130 files updated, 0 files merged, 0 files removed, 0 files unresolved
CallCount Recursive Total(ms) Inline(ms) module:lineno(function)
271 0 14.2564 14.2564 <built-in method compress>
View hg-3.0
b02:~/tmp/three$ time hg clone --profile --remotecmd=/home/tamentis/vv/bin/hg ssh://myhost//hg/myrepo
destination directory: myrepo
requesting all changes
adding changesets
adding manifests
adding file changes
added 15202 changesets with 21203 changes to 1753 files (+8 heads)
updating to branch default
130 files updated, 0 files merged, 0 files removed, 0 files unresolved
CallCount Recursive Total(ms) Inline(ms) module:lineno(function)
You can’t perform that action at this time.