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 | |
#ARCHS=${ARCHS:-"aarch64-linux-gnu mipsel-linux-gnu"} | |
ARCHS=${ARCHS:-"arm-linux-gnueabi arm-linux-gnueabihf powerpc64le-linux-gnu aarch64-linux-gnu mipsel-linux-gnu"} | |
set -e | |
busybox_version='busybox-1.35.0' | |
busybox_archive="${busybox_version}.tar.bz2" | |
busybox_url="https://busybox.net/downloads/${busybox_archive}" |
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 | |
if [ $# -ne 1 ]; then | |
echo "Usage: $0 [bitrate]" | |
exit 1 | |
fi | |
sudo ip link set can0 type can bitrate $1 | |
sudo ip link set can0 txqueuelen 1000 | |
sudo ip link set can0 up |
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 | |
ORIGINAL_OVA=${1:-./InternetSim.ova} | |
DESTDIR=${2:-.} | |
tar -C $DESTDIR -xvf $ORIGINAL_OVA | |
cp -ip $DESTDIR/InternetSim.ovf $DESTDIR/InternetSim.ovf_ORG | |
OVF_OLD_SHA1=$(shasum $DESTDIR/InternetSim.ovf_ORG | cut -d" " -f1) | |
sed -i "" 's/ovf:capacity="19326328320"/ovf:capacity="18" ovf:capacityAllocationUnits="GigaBytes"/' $DESTDIR/InternetSim.ovf |
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 | |
JNAME= | |
IP4ADDR= | |
IP6ADDR= | |
iocage create -n $JNAME -r 12.0-RELEASE \ | |
ip4_addr="vtnet1|192.168.254.$IP4ADDR/24" \ | |
defaultrouter=192.168.254.1 \ | |
resolver="nameserver 192.168.254.1" \ |
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/local/bin/python3.6 | |
#CVE-2017-15120 exploit. | |
#DO NOT ABUSE !!! | |
import socket | |
#pip install dnslib | |
from dnslib import RR, DNSHeader, DNSRecord, QTYPE, CNAME, CLASS | |
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
require 'net/http' | |
require 'uri' | |
require 'openssl' | |
def write(msg) | |
token = '' # token | |
url = URI.parse('https://notify-api.line.me/api/notify') | |
req = Net::HTTP::Post.new(url.path) | |
http = Net::HTTP.new(url.host, url.port) | |
http.use_ssl = true |
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/local/bin/ruby | |
#@shutingrz | |
require File.expand_path(File.dirname(__FILE__) + '/vitocha.rb') | |
# jails path | |
$jails='/jails' | |
#Operator is shutingrz!! | |
shu=Operator.new |
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 | |
tty=${1} | |
if [ "$USER" != "root" ]; then | |
echo "Please run as superuser or sudo!" | |
exit 1 | |
fi | |
if [ $# -ne 1 ]; then | |
echo "Usage: t [name]" |
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
require 'expect4r' | |
#gem install expect4r | |
@tftps = "" #tftpserver ipaddress or hostname | |
def bak_config(host,username,password, filename) | |
ios = Expect4r::Ios.new_telnet( | |
host: 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/local/bin/ruby | |
require "socket" | |
class Qflag | |
def initialize() | |
@qr = 0 | |
@opcode = 0 | |
@aa = 0 | |
@tc = 0 | |
@rd = 0 |
NewerOlder