Skip to content

Instantly share code, notes, and snippets.

View theassyrian's full-sized avatar

The Assyrian theassyrian

View GitHub Profile
@theassyrian
theassyrian / centos_bstick.sh
Created August 24, 2021 03:44 — forked from vkanevska/centos_bstick.sh
Custom CentOS 7 bootable ISO / Support UEFI & Secure boot
#!/bin/bash
# create custom bootable iso for CentOS 7 with kickstart
if [ $# -lt 2 ]
then
echo "Usage1: $0 path2iso path2kickstart"
exit 1
else
if [ ! -f $1 ]
then
@theassyrian
theassyrian / XpSerials.txt
Created May 13, 2021 02:57 — forked from denizssch/XpSerials.txt
Windows XP ALL Serial Keys :) (For testing purpose [Ex: VM or PenTest])
FCKGW-RHQQ2-YXRKT-8TG6W-2B7Q8
Windows XP PRO Corporate serial number S/N: Key: MQPWW-PGVKX-YPMKG-8DH3G-KC8PW
windows xp home edition serial number S/N: 034634-262024-171505-828316-729010-413531-800424-400442
Windows XP 64 serial number S/N: B2RBK-7KPT9-4JP6X-QQFWM-PJD6G
Windows XP serial number S/N: K6C2K-KY62K-DQR84-RD4QV-QB74Q
Windows XP Professional 64-bit Corporate Edition 5.2.3790.1830 serial number S/N: VCFQD-V9FX9-46WVH-K3CD4-4J3JM
Microsoft Windows XP Professional SP2 serial number S/N: YY8F2-3CKVQ-RKTRG-6JMDR-9DTG6
Windows XP Professional Service Pack 1 sp1 serial number S/N: F46YY - 2R8VQ - R8GMY - 926VK - 6BQ73
Windows XP Pro serial number S/N: KBWR7-76BD8-J7MDQ-KKG&C-V9Q2J
@theassyrian
theassyrian / find.hyperlinks.2.sh
Created March 7, 2021 06:27 — forked from ageis/find.hyperlinks.2.sh
Extract href tag values (hyperlinks) from a webpage.
@theassyrian
theassyrian / python_url_checker.py
Created August 30, 2020 10:19 — forked from keg/python_url_checker.py
Python redirect checker
#!/usr/bin/python
import csv
import requests
csv_data_to_write = [['original url', 'destination url',
'final http status', 'redirect path']]
def redirect_history(history):
'''repack urls to a neat list'''
@theassyrian
theassyrian / ssl-check.py
Created May 31, 2020 12:20 — forked from gdamjan/ssl-check.py
Python script to check on SSL certificates
# -*- encoding: utf-8 -*-
# requires a recent enough python with idna support in socket
# pyopenssl, cryptography and idna
from OpenSSL import SSL
from cryptography import x509
from cryptography.x509.oid import NameOID
import idna
from socket import socket
#!/usr/bin/env python
"""
Check that a particular email address exists.
Adam Blinkinsop <blinks@acm.org>
WARNING:
Checking email addresses in this way is not recommended, and will lead to
your site being listed in RBLs as a source of abusive traffic. Mail server
admins do like it when they get connections that don't result in email being
sent, because spammers often use this technique to verify email addresses.
@theassyrian
theassyrian / catbox
Created January 25, 2020 10:57 — forked from MineBartekSA/catbox
CatBox - A implementation of CatBox.moe API in Bash
#!/bin/bash
#
# Catbox v1.3
# A implelemtation of CatBox.moe API in Bash
# Author: MineBartekSA
# Gist: https://gist.github.com/MineBartekSA/1d42d6973ddafb82793fd49b4fb06591
#
curl --version >> /dev/null
if [ $? -ne 0 ]
@theassyrian
theassyrian / gencert.py
Created May 3, 2019 23:59 — forked from toolness/gencert.py
Python script to create server SSL certs and sign them with a custom CA.
#! /usr/bin/python
"""
This simple script makes it easy to create server certificates
that are signed by your own Certificate Authority.
Mostly, this script just automates the workflow explained
in http://www.tc.umn.edu/~brams006/selfsign.html.
Before using this script, you'll need to create a private
@theassyrian
theassyrian / c1842-running-config-for-ssh
Created March 26, 2018 13:25 — forked from marios-zindilis/c1842-running-config-for-ssh
Configuration of a Cisco 1841 in PacketTracer, for SSH
Continue with configuration dialog? [yes/no]: no
Press RETURN to get started!
Router>enable
Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#interface fa 0/1
Router(config-if)#ip address 192.168.1.1 255.255.255.0
Router(config-if)#no shutdown
build
Builds a job, and optionally waits until its completion.
cancel-quiet-down
Cancel the effect of the "quiet-down" command.
clear-queue
Clears the build queue
connect-node
Reconnect to a node
copy-job
Copies a job.