This file contains hidden or 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 | |
| # coding: utf-8 | |
| import os,socket,threading,time | |
| #import traceback | |
| allow_delete = False | |
| local_ip = socket.gethostbyname(socket.gethostname()) | |
| local_port = 8888 | |
| currdir=os.path.abspath('.') |
This file contains hidden or 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 generated configuration file | |
| # See the sshd_config(5) manpage for details | |
| # What ports, IPs and protocols we listen for | |
| Port 22 | |
| # Use these options to restrict which interfaces/protocols sshd will bind to | |
| #ListenAddress :: | |
| #ListenAddress 0.0.0.0 | |
| Protocol 2 | |
| # HostKeys for protocol version 2 |
This file contains hidden or 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 | |
| # Fallback base64 en-/decoder for systems that lack a native implementation | |
| # | |
| # @param ... - flags | |
| which base64 &>/dev/null || { | |
| # if even od is missing | |
| which od &>/dev/null || od() | |
| { | |
| local C O=0 W=16 |
This file contains hidden or 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 | |
| ufw reset | |
| ufw allow ssh | |
| cfips="103.21.244.0/22 \ | |
| 103.22.200.0/22 \ | |
| 103.31.4.0/22 \ | |
| 104.16.0.0/12 \ | |
| 108.162.192.0/18 \ |
This file contains hidden or 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 | |
| ########### | |
| file=$1 | |
| case $1 in | |
| *) | |
| grep -oP "([0-9]{1,3}\.){3}[0-9]{1,3}" $file | |
| ;; |
This file contains hidden or 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
| #include <time.h> | |
| #include <stdlib.h> | |
| #include <stdio.h> | |
| char string[]; | |
| int string_length; | |
| int main(void){ | |
| srand(time(NULL)); | |
| int string_length = rand() % 20 + 1; | |
| srand(time(NULL)); |
This file contains hidden or 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 | |
| paste=https://ghostbin.com/paste/rfwno/raw | |
| targets=domains.lst | |
| final=isisips | |
| curl $paste > targets.tmp | |
| sed '1,24d' targets.tmp > $targets | |
| # grab domain names from a paste | |
| cat targets.tmp | perl -n -e '/\b\S+\.(com|org|edu)\b/ && print $&,"\n"; ' > $targets | |
| # resolve each domain; append to a list | |
| touch $final.lst |