Skip to content

Instantly share code, notes, and snippets.

View sahidursuman's full-sized avatar

Sahidur Rahman Suman sahidursuman

View GitHub Profile
@sahidursuman
sahidursuman / Kali-arm
Last active August 29, 2015 14:07 — forked from iGh0st/Kali-arm
Kali-ARM-Build-Scripts
======================
Offensive Security Kali Linux ARM build scripts. We use these to build our official Kali Linux ARM images,
as can be found at http://www.kali.org/downloads/
- These scripts have been tested on a Kali Linux 32 and 64 bit installations only, after making sure
that all the dependencies have been installed.
- Make sure you run the build-deps.sh script first, which installs all required dependencies.
#!/bin/bash
# Kali Linux ISO recipe for : Evil Access Point
#########################################################################################
# Desktop : None
# Metapackages : None
# ISO size : 1.36 GB
# Special notes : Boots into an Access Point.
# : ppp0 and wlan0 hardcoded.
# Background : http://www.offensive-security.com/kali-linux/kali-linux-recipes/
/* {
* Exploit-DB Searcher :)
* Coded By xSecurity
* Homepage : sec4ever.com - is-sec.com
* email : b0x@hotmail.com
* Skype : b0x-sa
* Special Thanks To : Mr.Dm4r
* Greets 2 : Lov3rDNS - b0x - RAB3OUN - FoX HaCkEr - No-QRQR - DeeF - abolalh - DameneDz - r0kin - All Members :)
* }
*/
#!/bin/bash
echo "+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+"
echo "+- @@@@@@@ @@@@@@@ @@@@@@ @@@@@@@ @@@@@@ @@@ @@@-+"
echo "+- @@! @@@ @@! @@@ @@! @@@ !@@ @@! @@@ @@!@!@@@-+"
echo "+- @!@ !@! @!@!!@! @!@!@!@! !@! @!@!@ @!@ !@! @!@@!!@!-+"
echo "+- !!: !!! !!: :!! !!: !!! :!! !!: !!: !!! !!: !!!-+"
echo "+- :: : : : : : : : : :: :: : : :. : :: : -+"
echo "+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+"
echo "+- @@@@@@@ @@@@@@ @@@@@@@ @@@ @@@@@@@@ @@@@@@ -+"
echo "+- @@! @@! @@@ @@! @@@ @@! @@! !@@ -+"
#!/bin/sh
# -*- coding: utf-8 -*-
#
# readysethack.py
#
# Copyright 2013 written by: TH3CR4CK3R TOP-HAT-SEC.COM
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
#! /bin/bash
#WpaBust is a reaver automation script for kali-linux
#Authors: D4rk50ld13r & gh0std0g
echo ""
echo ""
echo "%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%"
echo "% D4rk-R34v3r BY: D4rk-50ld13r AND gh0std0g %"
echo "%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%"
echo ""
echo ""
#!/usr/bin/env bash
# screenFetch
# Script to fetch system and theme settings for screenshots in most mainstream
# Linux distributions.
# Copyright (c) 2010-2012 Brett Bohnenkamper < kittykatt AT archlinux DOT us >
# Permission is hereby granted, free of charge, to any person obtaining a copy of this software
#!/bin/bash
#
# Brain hacking in action: A simple bash script for making "fast" versions of mp3 files.
#
# Usage: The script takes 2 arguments, a "getdir" and a "putdir".
#
# The script will recursively search for mp3 files in getdir and make "fast" versions of them
# (+40% speed). The full directory tree (from /) is recreated inside putdir, and the
# fast mp3s are placed in their corresponding locations in the new tree.
#
class Ability
include CanCan::Ability
def initialize(user)
user ||= User.new # This is used for not logged user if you have a need for it
if User.current_role == 'admin' # From ApplicationController we can get current_role and check it up against the role we want.
can :manage, :all
else
@sahidursuman
sahidursuman / unicorn.sh
Last active August 29, 2015 14:08 — forked from troex/unicorn.sh
#!/bin/sh
### BEGIN INIT INFO
# Provides: unicorn
# Required-Start: $local_fs $remote_fs mysql
# Required-Stop: $local_fs $remote_fs
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: unicorn initscript
# Description: Unicorn is an HTTP server for Rack application
### END INIT INFO