Esse artigo é dedicado aos 20 anos da WWW :)
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/env python2 | |
#!/usr/bin/python2 | |
#-*-coding:utf8-*- | |
#qpy:console | |
""" SimpleServer.py -h | |
Original Version By InunxLABS 1.00.10 - 22/07/13 | |
Mail : inunxlabs@gembox.us | |
Paypal : inunxelex@yahoo.com | |
Payza : inunxlabs@gmail.com |
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/env python2 | |
#!/usr/bin/python2 | |
#-*-coding:utf8-*- | |
# coding=utf-8 | |
#qpy:console | |
""" | |
HTTP Injector Python | |
https://stackoverflow.com/questions/43341946/injector-python-http-proxy-basic-proxy-authentication | |
+++ Inject Payload |
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
package main | |
import ( | |
"context" | |
"fmt" | |
"net" | |
"os" | |
"os/signal" | |
"syscall" |
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/env python | |
''' | |
SimpleHttpClient: Python Simple HTTP Client | |
Author: Moises P. Sena <moisespsena AT gmail.com> | |
CONNECT AND CLOSE: | |
>>> host, port = 'localhost', 80 | |
>>> c = SimpleHttpClient((host, port), host) |
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/env python | |
# -*- coding: utf-8 -*- | |
import SocketServer | |
import socket | |
import logging | |
import select | |
import threading | |
import signal | |
import argparse |
You need to install ARMv5 gcc cross compiler: apt-get install gcc-arm-linux-gnueabi
You have to define a directory (via --prefix) where all of your binaries will be installed (copied). In the guide I use the following: /home/user/vpn_compile
- Download the source:
wget https://www.openssl.org/source/openssl-1.0.2j.tar.gz
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
Debian | |
apt-get install build-essential gcc-arm-linux-gnueabi ca-certificates | |
mkdir /home/source /home/openvpn | |
LZO | |
cd /home/source | |
wget https://www.oberhumer.com/opensource/lzo/download/lzo-2.10.tar.gz | |
tar xvzf lzo-2.10.tar.gz |
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 | |
CHROOT_DIR=/tmp/raspbian-chroot | |
MIRROR=http://archive.raspbian.org/raspbian | |
VERSION=jessie | |
CHROOT_ARCH=armhf | |
sudo apt-get install -y debootstrap qemu-user-static binfmt-support sbuild | |
sudo mkdir -p $CHROOT_DIR |
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
package main | |
import ( | |
"io" | |
"net/http" | |
"strings" | |
) | |
func main() { | |
p := &proxy{} |
OlderNewer