This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Prerequisites: http://wiki.openwrt.org/doc/howto/buildroot.exigence | |
# Additionally JDK is needed | |
generate_buildenv() { | |
# Prepare build enviroment | |
mkdir openwrt_build | |
cd openwrt_build | |
git clone --depth=1 git://git.openwrt.org/15.05/openwrt.git |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# New Version : github.com/darkerego/bashword | |
#!/bin/bash | |
# Random password generator. Originally by jbsnake, modified by crouse to use Upper case letters as well. | |
# Now also does error checking and fails if the input isn't numerical integers or if no input is given at all. | |
# Modified by DarkerEgo to include some special characters, ask for a password description, and save the outputs | |
# to a file, which now uses aespipe with base64 to securely store the passwords. This functionality is currently | |
# under development. | |
# TODO: | |
# - Add a function to create/recreate a master password, hash it and store somewhere. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dmesg | tr ' ' '\n' | grep -iP "DPT|SRC\=" | sed "s/DPT=/:/" | sed "s/SRC=/ /" | tr -d '\n' | tr ' ' '\n' | grep "." |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# ./socatchk remote-host remote-port | |
# crudely shutsdown socat (if running) and then restarts it for new host/port | |
orport=9050 | |
orlisadr=127.0.0.1 | |
case $1 in | |
-k|--kill) | |
for i in $(ls /tmp/soxify*.pid);do | |
echo 'Killing pid...' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* (un)comment correct payload first (x86 or x64)! | |
* | |
* $ gcc cowroot.c -o cowroot -pthread | |
* $ ./cowroot | |
* DirtyCow root privilege escalation | |
* Backing up /usr/bin/passwd.. to /tmp/bak | |
* Size of binary: 57048 | |
* Racing, this may take a while.. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
######################################################################################### | |
# Torjanify - Configure ssh access through a tor hidden service (ubuntu <= 14.04 version) | |
######################################################################################### | |
# | |
# Host and port where you want to receive the generated onion url: | |
recvHost=some.server | |
recvPort=8443 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
######################################################### | |
# ZenSim ... in posix ~ Darkerego 2017 | |
######################################################### | |
# | |
# Runs simulations using randomly generated | |
# variables, preselected for each included strategy. Run | |
# over and over until you find a desirable result, and than | |
# you can train the bot to trade using whatever paramaters the | |
# program generated. Commands are saved to a file called |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Just a wrapper for massmine queries. | |
# DarkEgo November, 2017 | |
# check depends | |
which massmine >/dev/null 2>&1 || { echo "Error! Massmine is not in system PATH. Please configure and try again!" ; exit 1 ; } | |
which jq >/dev/null 2>&1 || { echo 'Error! Please install the package `jq` <debx: apt update;apt -y install jq>' ; exit 1 ; } | |
# other stuff we need | |
if [[ ! -d "/home/$USER/mine" ]] ; then |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Deamonized ShellCode Wrapper | |
To compile: | |
$ gcc -fno-stack-protector -z execstack shellcode.c -o shellcode | |
*/ | |
#include <stdio.h> | |
#include <unistd.h> | |
#include <stdlib.h> | |
#include <sys/mman.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python3.6 | |
""" | |
Whoxy API Tool - Query whoxy.com for reverse whois data | |
Darkerego, 2019 | |
""" | |
import argparse | |
import requests | |
import json | |
import config """ create a file called `config.py` and set your api key: | |
""" api_key = 'yourapikeyhere' |
OlderNewer