Skip to content

Instantly share code, notes, and snippets.

Mozilla/5.0 (Windows NT 5.1; rv:11.0) Gecko Firefox/11.0 (via ggpht.com GoogleImageProxy)
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.169 Safari/537.36
Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.121 Safari/537.36
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.157 Safari/537.36
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.113 Safari/537.36
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/17.17134
Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko
Mozilla/5.0 (Windows NT 5.1; rv:7.0.1) Gecko/20100101 Firefox/7.0.1
### Basic Scanning Techniques
* Scan a single target
* `nmap [target]`
* Scan multiple targets
* `nmap [target1,target2,etc]`
* Scan a list of targets
* `nmap -iL [list.txt]`
* Scan a range of hosts
* `nmap [range of IP addresses]
@NullArray
NullArray / payloads.MD
Last active November 2, 2023 19:19
XSS Payload Lists, sorted on type.

XSS Payloads, simple overview

Basic payload

<script>alert('XSS')</script>
<scr<script>ipt>alert('XSS')</scr<script>ipt>
"><script>alert('XSS')</script>
"><script>alert(String.fromCharCode(88,83,83))</script>

Img payload

@joepie91
joepie91 / js-tooling.md
Last active September 4, 2024 16:00
An overview of Javascript tooling

Getting confused about the piles of development tools that people use for Javascript? Here's a quick index of what is used for what.

Keep in mind that you shouldn't add tools to your workflow for the sake of it. While you'll see many production systems using a wide range of tools, these tools are typically used because they solved a concrete problem for the developers working on it. You should not add tools to your project unless you have a concrete problem that they can solve; none of the tools here are required.

Start with nothing, and add tools as needed. This will keep you from getting lost in an incomprehensible pile of tooling.

Build/task runners

Typical examples: Gulp, Grunt

@lisp-is-the-future
lisp-is-the-future / install-termux-arch.md
Last active May 20, 2022 10:30
How to install TermuxArch in Termux of Android (Samsung Galaxy Tab 10.1)
#################################################################
# How to install Arch in your Android (into the App TermuxArch)
# and be able to use your Android device like a personal computer
# even running a X server to have GUI
#################################################################


###############################
# Install Termux
@immanuelpotter
immanuelpotter / DatSci-intro.md
Last active November 9, 2019 17:34
Basic Data Science in Python guide (pandas, numpy, scikit-learn, nltk, stats)

An introduction to Data Science: Python

Immanuel Potter

This guide may assume some very basic programming knowledge, but not necessarily python. It aims to give anyone enough knowledge to start diving into data problems themselves by using these techniques, and tries to explain (fairly comprehensively) everything that is going on for the newcomer.

This guide will be covering several different topics and should equip you with enough knowledge to try some of what you read out on real problems.

Contents:

Raspberry Pi - Clean Install

A great set of video resources can be found here. Most of this setup process comes from these videos. This setup process should work fine for either a pi3 or a piZero, but the peripherals needed will change depending on which you are setting up.

Installing the OS

  1. Download the newest version of Raspbian from The Raspberry Pi Org.
  2. Download a copy of The Unarchiver to extract the Raspbian img file.
  3. Download a copy of Pi Filler from IvanX to easily flash the OS to the card.
  4. Right click on the OS zip file and open with The Unarchiver. Extracting the file to the same folder is fine.
  5. Once extracted, open up Pi Filler. Select your img file, insert your SD card, and continue through the prompts.
@Ekultek
Ekultek / ufw-denier.sh
Created August 9, 2018 21:27
A script to download bad IP addresses and deny them with UFW
#!/bin/bash
TMP_DIR="/tmp"
URL_LINKS=$"http://www.blocklist.de/lists/ssh.txt
http://www.blocklist.de/lists/apache.txt
http://www.blocklist.de/lists/asterisk.txt
http://www.blocklist.de/lists/bots.txt
http://www.blocklist.de/lists/courierimap.txt
http://www.blocklist.de/lists/courierpop3.txt
http://www.blocklist.de/lists/email.txt
@Ekultek
Ekultek / denier.sh
Created August 9, 2018 18:30
A script to deny all known Shodan IP addresses
#!/bin/bash
# all known shodan IP addresses
SCANNERIPADDRESSES=$"185.181.102.18
94.102.49.193
94.102.49.190
89.248.167.131
93.174.95.106
185.163.109.66
89.248.172.16
@HardenedArray
HardenedArray / Encrypted Arch with Bcache Support Installation Procedure
Last active March 8, 2024 12:51
Efficient Encrypted Arch Linux with Bcache Installation Procedure Providing SSD and HDD Concurrent Support
# OBJECTIVE: Install Arch Linux with encrypted root and swap filesystems with full Bcache SSD/HDD support
# and boot from UEFI.
# RATIONALE: As most users realize, you have to pay for marginal speed improvements in all circuits which compute.
# This holds true for CPUs, GPUs, DRAM, SRAM, Drives, including memory cards and USB sticks. If you want speed, you
# must be willing to pay the price premium that a faster device commands versus a slower alternative.
# SSDs are incredibly fast, but expensive to produce, and therefore, only offer limited storage space.
# HDDs, by comparison, are ridiculously slow, but offer immense storage space per dollar expended.