Skip to content

Instantly share code, notes, and snippets.

View BlackVikingPro's full-sized avatar
🎯
Focusing

Wįłłý Fœx BlackVikingPro

🎯
Focusing
View GitHub Profile
@BlackVikingPro
BlackVikingPro / check-hosts.py
Last active October 26, 2017 01:45
Check if multiple hosts are online from a list of addresses.
#!/usr/bin/env python
import os, sys, fileinput
try:
host_list = sys.argv[1]
pass
except IndexError as e:
if sys.argv[0].startswith('./'):
print "Usage: %s /path/to/list -- List that contains target IP addresses" % sys.argv[0]
sys.exit()
@BlackVikingPro
BlackVikingPro / port-scanner.py
Last active January 8, 2017 19:54
Simple Python Port Scanner
#!/usr/bin/env python
import os, sys, socket
def usage():
print "\n\nOption Switches:\nPlease define '--verbose' before you define '--custom', should you define either one.\n"
print "--verbose -- Will show all connection attempts. Even failed ones."
print "\nExample: python %s 127.0.0.1 --verbose" % sys.argv[0]
pass
try:
@BlackVikingPro
BlackVikingPro / random-casing.py
Created January 11, 2017 02:58
Randomize a sentence's casing in Python!
#! /usr/bin/env python
""" Random String Casing ~~ by Willy Fox (BlackVikingPro) """
import sys, random
try:
tmp = sys.argv[1]
pass
except IndexError:
if sys.argv[0].startswith('./'):
@BlackVikingPro
BlackVikingPro / sms-bomber.py
Last active January 22, 2025 19:58
SMS Bombing (Spamming) Application! [Python]
#! /usr/bin/env python
import time, smtplib, sys, getpass
# need to define:
"""
e-prov (email-provider) [gmail]|[yahoo]|[custom]
from [attacker email]
from-spoof [spoof attacker email]
to [target email (syntax: [10-digit #]@mms|txt.[provider].com|net|org)]
c [count (# of txt's to send)]
#!/usr/bin/env python
""" !- Stopwatch.py ~ By: Willy Fox - @BlackVikingPro -! """
import sys, time
def stopwatch():
min = 0
sec = 0
print("")
while True:
if len(str(min)) == 1 and len(str(sec)) == 1:
#!/usr/bin/env python
""" !- T3xt H4ck1fy ~ By: Willy Fox - @BlackVikingPro -! """
import sys
def usage():
print "!- T3xt H4ck1fy ~ By: Willy Fox - @BlackVikingPro -!\n"
if sys.argv[0].startswith('./'):
print "Syntax: %s --med hello world i am hacker text!" % sys.argv[0]
pass
@BlackVikingPro
BlackVikingPro / sqrt.py
Created April 20, 2017 21:58
Get the square root of a number example in Python!
#!/usr/bin/env python
""" !- Square Root Example in Python -- By: @BlackVikingPro -! """
import sys
# Based on JavaScript code from https://gist.github.com/joelpt/3824024
def squirt(n, g=False):
if (g == False):
g = n / 2.0;
pass
@BlackVikingPro
BlackVikingPro / colorfy-html.py
Created May 17, 2017 22:42
Colorfy-HTML - Color text with HTML tags
#!/usr/bin/env python
""" !- Colorfy-HTML - Color text with HTML tags ~ By: Willy Fox - @BlackVikingPro -! """
import sys, random
if len(sys.argv) <= 1:
if "./" in sys.argv[0]:
print "Usage: Takes text from command line and outputs generated HTML content.\nSyntax: %s [text]" % sys.argv[0]
pass
else:
@BlackVikingPro
BlackVikingPro / serverdoxxy.py
Last active May 25, 2017 16:15
ServerDoXXy - Server DoXing Tool
#!/usr/bin/env python
""" !- ServerDoXXy - Server DoXing Tool ~ By: Willy Fox - @BlackVikingPro -! """
import sys, time, socket
import os, argparse, subprocess
parser = argparse.ArgumentParser(description='!- ServerDoXXy - Server DoXing Tool ~ By: Willy Fox - @BlackVikingPro -!')
config = parser.add_argument_group('Configuration:')
@BlackVikingPro
BlackVikingPro / sshban.py
Created May 24, 2017 04:44
SSHBan - SSH Hacker Suspect IP Leaker
#!/usr/bin/env python
""" !- SSHBan - SSH Hacker Suspect IP Leaker -- By: Willy Fox (@BlackVikingPro) -! """
import os, sys, re, socket, time
# Config
logfile = '/var/log/auth.log'
leakfile = '/var/www/html/leakedips.txt'
mins = 1 # number of minutes to sleep before conducting another search