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
/* | |
* A JavaScript implementation of the RSA Data Security, Inc. MD5 Message | |
* Digest Algorithm, as defined in RFC 1321. | |
* Version 1.1 Copyright (C) Paul Johnston 1999 - 2002. | |
* Code also contributed by Greg Holt | |
* See http://pajhome.org.uk/site/legal.html for details. | |
*/ | |
/* | |
* Add integers, wrapping at 2^32. This uses 16-bit operations internally |
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
{ | |
"version": 1, | |
"disable_existing_loggers": false, | |
"formatters": { | |
"console-simple": { | |
"()": "ext://coloredlogs.ColoredFormatter", | |
"format": "[%(asctime)s.%(msecs)03d] : %(message)s", | |
"datefmt": "%H:%M:%S", | |
"field_styles": { | |
"asctime": {"color": "green"} |
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
ctrl_interface=/var/run/wpa_supplicant | |
ctrl_interface_group=0 | |
ap_scan=1 | |
update_config=1 | |
network={ | |
mode=0 | |
priority=1 | |
scan_ssid=1 | |
proto=WPA2 |
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
import requests | |
import time | |
import scrollphathd | |
from scrollphathd.fonts import font3x5 | |
class SETTRADE: | |
def __init__(self): |
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
#!/bin/bash | |
# Slightly modified version from https://raw.githubusercontent.com/Nyr/openvpn-install/master/openvpn-install.sh | |
# Run with sudo ./openvpn-install.sh and not sudo sh ./openvpn-install.sh as read command has issues with external triggering of scripts | |
# OpenVPN road warrior installer for Debian, Ubuntu and CentOS | |
# This script will work on Debian, Ubuntu, CentOS and probably other distros | |
# of the same families, although no support is offered for them. It isn't | |
# bulletproof but it will probably work if you simply want to setup a VPN on | |
# your Debian/Ubuntu/CentOS box. It has been designed to be as unobtrusive and | |
# universal as possible. |
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
Show hidden characters
{ | |
// The command to execute for the terminal, leave blank for the OS default | |
// See https://github.com/wbond/sublime_terminal#examples for examples | |
"terminal": "C:\\Dropbox\\Win\\Console2\\Console.exe", | |
// A list of default parameters to pass to the terminal, this can be | |
// overridden by passing the "parameters" key with a list value to the args | |
// dict when calling the "open_terminal" or "open_terminal_project_folder" | |
// commands | |
"parameters": ["-d", "."], |
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
{'packet_full': '005000060332001a283830373337643865613437346331333137323334323734353166393634313030353536393761623108b3f3c4e60510011a18312d3930303031303530372d362d31353537313634333931', 'packet_header': '00', 'packet_size': 80, 'packet_body': b'\x06\x032\x00\x1a(80737d8ea474c131723427451f96410055697ab1\x08\xb3\xf3\xc4\xe6\x05\x10\x01\x1a\x181-900010507-6-1557164391', 'packet_action': 'SEND', 'rom_protocol_id': 6, 'rom_protocol_type': 3, 'rom_protocol_name': 'SceneItem_pb.ItemUse'} | |
{'packet_full': '005000060332001a286236613136303961623336653066343136643664363633613537623237346634373764373039653608d4f3c4e60510011a18312d3930303031303530372d362d31353537313634333931', 'packet_header': '00', 'packet_size': 80, 'packet_body': b'\x06\x032\x00\x1a(b6a1609ab36e0f416d6d663a57b274f477d709e6\x08\xd4\xf3\xc4\xe6\x05\x10\x01\x1a\x181-900010507-6-1557164391', 'packet_action': 'SEND', 'rom_protocol_id': 6, 'rom_protocol_type': 3, 'rom_protocol_name': 'SceneItem_pb.ItemUse'} | |
{'packet_full': '005000060332001a2861613931363635633 |
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/local/bin/perl | |
sub hexdump{ | |
my $data = $_[0]; | |
my $len = length($data); | |
#hex, content | |
my $buf_hex = uc(unpack('H*', $data)); | |
$buf_hex =~ s/\G(..)/$1 /g; | |
my $buf_content = $data; |
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/env python | |
''' | |
mikrotik basic login script | |
''' | |
import re | |
import requests | |
from md5 import md5 | |
USER = 'i am groot' |
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/env python | |
import re | |
import requests | |
session = requests.Session() | |
stock = 'T' | |
start = '1547398800' | |
end = '1547485200' |
NewerOlder