Skip to content

Instantly share code, notes, and snippets.

View Ekultek's full-sized avatar
:octocat:
\x66\xc7\x06\x10\x00\x00\x00\x00\x00\x66\xff\x06\x10\x00\xeb\xf9

Ekultek

:octocat:
\x66\xc7\x06\x10\x00\x00\x00\x00\x00\x66\xff\x06\x10\x00\xeb\xf9
View GitHub Profile
#!/usr/bin/python
from BaseHTTPServer import BaseHTTPRequestHandler,HTTPServer
PORT_NUMBER = 31337
class myHandler(BaseHTTPRequestHandler):
#Handler for the GET requests
def do_GET(self):
self.send_response(200)
@NullArray
NullArray / autosploit.py
Created February 7, 2018 18:10
minor update/temporary gist for autosploit
#!/usr/bin/env python2.7
import os, sys
import shodan
import pickle
import time
from blessings import Terminal
from subprocess import PIPE, Popen
@tonymtz
tonymtz / gist:714e73ccb79e21c4fc9c
Created November 15, 2014 00:02
Uninstall XQuartz.app from OSX Yosemite
launchctl unload /Library/LaunchAgents/org.macosforge.xquartz.startx.plist
sudo launchctl unload /Library/LaunchDaemons/org.macosforge.xquartz.privileged_startx.plist
sudo rm -rf /opt/X11* /Library/Launch*/org.macosforge.xquartz.* /Applications/Utilities/XQuartz.app /etc/*paths.d/*XQuartz
sudo pkgutil --forget org.macosforge.xquartz.pkg
# Log out and log in
@ondrej-kvasnovsky
ondrej-kvasnovsky / commands.md
Last active April 25, 2020 19:43
Commands to install and configure ElasticSearch on Ubuntu

Install ElasticSearch and Java

1  wget https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-1.0.1.deb
2  sudo dpkg -i elasticsearch-1.0.1.deb
3  sudo update-rc.d elasticsearch defaults 95 10
4  sudo add-apt-repository ppa:webupd8team/java
5  sudo apt-get update
6  sudo apt-get install oracle-java7-installer
7  java -version