Skip to content

Instantly share code, notes, and snippets.

View saifazmi's full-sized avatar
🏠
Working from home

Saif Azmi saifazmi

🏠
Working from home
View GitHub Profile
@saifazmi
saifazmi / getuserpass.py
Last active August 3, 2018 10:32 — forked from saifullah-azmi/getuserpass.py
Generates a txt file containing a combination of [user:password] for all passwords cracked using John the Ripper for a given passwd file.
#!/usr/bin/python
###############################################################################
# IMPORTANT:
# Place this script in $JOHN/run/ directory.
#
# USAGE:
# $ python <scriptname>.py <passwdfile> <outfile>
# Where -
# scriptname = name of this script.
# passwdfile = passwd file cracked by JtR.
@saifullah-azmi
saifullah-azmi / getuserpass.py
Last active March 1, 2016 16:46
Generates a txt file containing a combination of [user:password] for all passwords cracked using John the Ripper for a given passwd file.
#!/usr/bin/python
###############################################################################
# IMPORTANT:
# Place this script in $JOHN/run/ directory.
#
# USAGE:
# $ python <scriptname>.py <passwdfile> <outfile>
# Where -
# scriptname = name of this script.
# passwdfile = passwd file cracked by JtR.

Git Cheat Sheet

Commands

Getting Started

git init

or

@lfender6445
lfender6445 / gist:9919357
Last active May 12, 2024 19:09
Pry Cheat Sheet

Pry Cheat Sheet

Command Line

  • pry -r ./config/app_init_file.rb - load your app into a pry session (look at the file loaded by config.ru)
  • pry -r ./config/environment.rb - load your rails into a pry session

Debugger