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
#!/usr/local/bin/ruby | |
# -*- coding: utf-8 -*- | |
# | |
#This script gets LINE Stickers.(for iPhone) | |
# http://shutingrz.hatenablog.com/entry/2014/08/13/042413 | |
# | |
# gem install cfpropertylist | |
# | |
require 'json' |
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
require 'webrick' | |
class DigServlet < WEBrick::HTTPServlet::AbstractServlet | |
def do_GET(req,res) | |
host = req.query["host"] | |
type = req.query["t"] | |
res.body = `dig -t #{type} #{host}|grep IN |grep -v \\;` | |
end |
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 'webrick' | |
class LoginServlet < WEBrick::HTTPServlet::AbstractServlet | |
def do_POST(req,res) | |
res.body = '<?xml version="1.0" encoding="UTF-8"?><response><ok><code /><body /></ok></response>' | |
end | |
end | |
class LogoutServlet < WEBrick::HTTPServlet::AbstractServlet |
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 |
NewerOlder