Skip to content

Instantly share code, notes, and snippets.

View AdrianKoshka's full-sized avatar
🦉
Focusing

Adrian Lucrèce Céleste AdrianKoshka

🦉
Focusing
View GitHub Profile
#!/bin/bash
# Nmap can crash when scanning large ranges
# To use this script, start your scan with whatever
# nmap options you want making sure you use -oA <filename>
# or -oG <filename> (you need the gnmap file) then cancel
# the scan. replace <filename> below and run this script.
# It will also record when it failed to a file called failed.txt
until nmap --resume <filename>.gnmap
@AdrianKoshka
AdrianKoshka / youtube.sh
Created May 11, 2017 00:27 — forked from AcouBass/youtube.sh
youtubes sub script
#!/bin/sh
passs=$(pass Internet/Google | head -n 1)
youtube-dl -i -u fake@gmail.com :ytsubs -p $passs -2 $2 --dateafter now-$1days -v --download-archive /home/eddie/pipes/youtubearchive
@AdrianKoshka
AdrianKoshka / fbterm-hacks.md
Created August 2, 2016 01:53 — forked from zellio/fbterm-hacks.md
fbterm, installation and configuration hacks

fbterm setup and config hacks

Installation and setup

Install fbterm via your favorite package manager

pacman -S fbterm
@AdrianKoshka
AdrianKoshka / dhcpd.conf
Created July 30, 2016 15:50 — forked from robinsmidsrod/dhcpd.conf
Trying to chainload iPXE with full feature set from a lesser featured one, whilst still being able to boot non-supported cards with UNDI
ddns-update-style none;
deny bootp; #default
authoritative;
include "/etc/dhcp/ipxe-option-space.conf";
# GREEN
subnet 10.1.1.0 netmask 255.255.255.0 {
range 10.1.1.100 10.1.1.199;
option subnet-mask 255.255.255.0;
@AdrianKoshka
AdrianKoshka / create_repo.sh
Last active November 18, 2015 01:29 — forked from adampats/create_repo.sh
Create GitHub repo from command line and push
# Personal Access Token required - go here: https://github.com/settings/tokens
repo="newrepo"
gh_user="adriankoshka"
gh_token="mytoken"
curl -u "$gh_user:$gh_token" https://api.github.com/user/repos -d '{"name":"'$repo'"}'
@AdrianKoshka
AdrianKoshka / sent.1
Last active November 17, 2015 03:09 — forked from professorjamesmoriarty/sent.1
sent manpage
.TH SENT 1 November 2015 User Commands
.SH NAME
sent \- manual page for sent 0.1
.SH DESCRIPTION
usage: sent FILE1 [FILE2 ...]
.PP
Simple plaintext presentation tool.
.SH SEE ALSO
The full documentation for
.B sent
@AdrianKoshka
AdrianKoshka / pomfload
Last active August 28, 2016 21:42 — forked from KittyKatt/pomf
#!/usr/bin/env bash
# pomf clone uploader
# requires: curl
# formerly known as 1339load
#1339.cf works, so does pomf.cat, if you test others and they work, tell me.
dest_url='https://pomf.cat/upload.php'
return_url='https://a.pomf.cat'
if [[ -n "${1}" ]]; then