This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class newThreat { | |
function __construct($this->ipAddress = '') { | |
// configure parameters | |
$this->coordinates_file = 'saved_addresses.php'; | |
// define constants for security include purposes | |
define ('worldmap' , 'yes'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
# 2014/07/09 Ryan Linnit | |
import re | |
import smtplib | |
import requests | |
email = '[email protected]' | |
postcode = 'WF13 3RL' | |
session = requests.session() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
import base64 | |
import requests | |
skyrouter = "10.0.0.2" | |
userpass = "admin:sky" | |
# http://en.wikipedia.org/wiki/Basic_access_authentication#Client_side | |
b64userpass = base64.b64encode(userpass) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$pages = 20; | |
$current_page = (int) $_GET['p']; | |
if ($current_page > 3) { | |
echo "1 ... "; | |
} | |
for($i=$current_page-3;$i<=$current_page+3;$i++) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
REM Do not change these until you have ran the script for a first time | |
set currentlogin=ral | |
set olduser=esguser | |
set newuser=CORP.USER | |
if NOT "%olduser%" == "esguser" (GOTO scan) | |
mkdir C:\m | |
xcopy \\srv-mir-fp02\ral$\1\* C:\m\ /E | |
REM AV Installation -------------------------------------------------------------------------------- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
set username= | |
AT > NUL | |
IF %ERRORLEVEL% EQU 0 ( | |
goto start | |
) ELSE ( | |
ECHO This scripts needs to be run with Administrator privileges | |
goto end | |
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(function() { | |
var scntDiv = $('#p_scents'); | |
var i = $('#p_scents p').size() + 1; | |
$('body').on('click', '#addScnt', function() { | |
$('<p><label for="p_scnts"><input type="text" id="p_scnt" name="p_scnt_' + i +'" value="" /></label> <a href="#" id="remScnt">Remove</a></p>').appendTo(scntDiv); | |
i++; | |
return false; | |
}); | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Xft.autohint: 0 | |
Xft.antialias: 1 | |
Xft.hinting: true | |
Xft.hintstyle: hintslight | |
Xft.dpi: 96 | |
Xft.rgba: rgb | |
Xft.lcdfilter: lcddefault | |
URxvt*termName:rxvt-256color | |
URxvt*transparent: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
import re, sys, bencode, binascii, urllib, hashlib | |
tracker = "http://swiftler.com:6969/scrape?info_hash=" | |
def usage(): | |
print """ | |
Usage: ./scrape [OPTION] [FILE/HASH] | |
-h Use a hash to get seeders, leechers and completed downloads |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
# -*- coding: UTF-8 -*- | |
string = "something something something" | |
key = "cheese" | |
def crypt(string, key): | |
data = '' | |
for i in range(len(string)): |
NewerOlder