Skip to content

Instantly share code, notes, and snippets.

View OmkarKirpan's full-sized avatar
🎨

Omkar Kirpan OmkarKirpan

🎨
View GitHub Profile
@OmkarKirpan
OmkarKirpan / index.html
Created May 12, 2018 22:38 — forked from dugdaniels/index.html
An example of a browser-based input for Johnny-Five. Clicking the button in index.html turns on and off an LED installed on the Arduino board.
<html>
<head>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
<script src="/socket.io/socket.io.js"></script>
<script>
$(document).ready(function() {
var socket = io.connect('http://localhost');
$('#button').click(function(e){
socket.emit('click');
e.preventDefault();
@OmkarKirpan
OmkarKirpan / eternalblue8_exploit.py
Created May 18, 2017 18:24 — forked from worawit/eternalblue8_exploit.py
Eternalblue exploit for Windows 8/2012
#!/usr/bin/python
from impacket import smb
from struct import pack
import os
import sys
import socket
'''
EternalBlue exploit for Windows 8 and 2012 by sleepya
The exploit might FAIL and CRASH a target system (depended on what is overwritten)