Skip to content

Instantly share code, notes, and snippets.

@AglaianWoman
AglaianWoman / imacros-cheatsheet.md
Created October 11, 2017 21:00
iMacros Command, Variable, and function reference
#!/bin/sh
# Random UUID for this config
vpnUuid=``
# Address of VPN server
serverName=""
# The group of usernames that is allowed in
groupName=""
# The name of connection type displayed in GUI
labelName=""
# The Shared Secret
@AglaianWoman
AglaianWoman / ps_notes.ps1
Created October 26, 2017 01:39
PowerShell
# Add PowerCLI snapin and connect to server, if not already done
if (!(Get-PSSnapin VMware.Vimautomation.Core -ErrorAction SilentlyContinue)) {
Add-PSSnapin Vmware.Vimautomation.Core
}
if (!$global:DefaultVIServer) {
Connect-VIServer <vCenterServer>
}
# Analyze XML data
[xml] $xmldata = Get-Content "C:\path.xml"
@AglaianWoman
AglaianWoman / python_notes.py
Created October 26, 2017 01:40
MITx: 6.00.1x Introduction to Computer Science and Programming Using Python
#
### Week 1: Python Basics
#
#
# 1. Introduction to Python
#
#
# 2. Core Elements of Programs
@AglaianWoman
AglaianWoman / sms-bomber.py
Created October 26, 2017 01:42 — forked from BlackVikingPro/sms-bomber.py
SMS Bombing (Spamming) Application! [Python]
#! /usr/bin/env python
import time, smtplib, sys, getpass
# need to define:
"""
e-prov (email-provider) [gmail]|[yahoo]|[custom]
from [attacker email]
from-spoof [spoof attacker email]
to [target email (syntax: [10-digit #]@mms|txt.[provider].com|net|org)]
c [count (# of txt's to send)]
# WEP
aireplay-ng -1 0 -a <MAC> wlan0
aireplay-ng -3 -b <MAC> wlan0
# WPA
aireplay-ng -0 1 -a <MAC> -c <CLIENT_MAC> wlan0
# extract handshake from capture file:
install tshark
tshark -r <input file name> -R "eapol || wlan.fc.type_subtype == 0x08" -w <output file name>
@AglaianWoman
AglaianWoman / check-hosts.py
Created October 26, 2017 01:45 — forked from BlackVikingPro/check-hosts.py
Check if multiple hosts are online from a list of addresses.
#!/usr/bin/env python
import os, sys, fileinput
try:
host_list = sys.argv[1]
pass
except IndexError as e:
if sys.argv[0].startswith('./'):
print "Usage: %s /path/to/list -- List that contains target IP addresses" % sys.argv[0]
sys.exit()
<?xml version="1.0" encoding="UTF-8"?>
<module type="PYTHON_MODULE" version="4">
<component name="NewModuleRootManager">
<content url="file://$MODULE_DIR$" />
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
<component name="TestRunnerService">
<option name="PROJECT_TEST_RUNNER" value="Unittests" />
</component>
@AglaianWoman
AglaianWoman / craigslist.php
Created November 6, 2017 03:14 — forked from Asbra/craigslist.php
PHP Craigslist job finder (scraper)
<?php
/**
* Craigslist job finder
* Scans a given Craigslist section, checks titles for keyword(s), then emails when found.
* @author Johan <johan@asbra.net>
* @date 2014-11-10
* @modified 2014-11-10
*/
// the $keyword variable contains the keywords you want to find
// $keyword = 'programmer';
@AglaianWoman
AglaianWoman / manifest.json
Created November 9, 2017 02:02 — forked from ostearn/manifest.json
Ebay Variations Go Away!
{
"name": "Ebay Variations Go Away!",
"version": "0.1",
"manifest_version": 2,
"description": "This extension is designed to completely rid ebay search results of those annoying variations listings which are commonly abused and destroy your ability to find the cheapest item.",
"homepage_url": "http://oliverstearn.com/projects?project=ebay_extension",
"permissions": [
"https://*/*",
"http://*/*",
"tabs"