Run 5 times, with one second delay between calls
t1 = new Timer(500, function(){
console.log(this.count);
if (this.count >= 5) {
this.stop();
}
});
from scapy.all import * | |
from argparse import ArgumentParser | |
from sys import argv | |
from collections import OrderedDict | |
# USB HID Keyboard scan codes | |
# https://gist.github.com/MightyPork/6da26e382a7ad91b5496ee55fdc73db2 | |
key_hid = { | |
0x00 : ['', ''], # no key pressed | |
0x04 : ['a', 'A'], |
var http = require("http"), | |
url = require("url"), | |
path = require("path"), | |
fs = require("fs") | |
port = process.argv[2] || 4002; | |
http.createServer(function(request, response) { | |
var uri = url.parse(request.url).pathname |
// Bug fixes for current versions. | |
// | |
// This server will start a bash shell and expose it | |
// over socket.io to a browser. See ./term.html for the | |
// client side. | |
// | |
// You should probably: | |
// | |
// npm install socket.io |
clear | |
echo "" | |
echo " ---- CHECKING MD5 ---- " | |
echo "" | |
echo "" | |
SUM=$(openssl md5 "$2") | |
BFO="MD5($2)= " | |
echo "MD5 TO CHECK WITH" | |
echo "----------------------------------" | |
echo "" |