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
PK#xhO§����garlic_salt.pyUT ���]���]ux ��W�n�6}�W�*PK][J���E��6�l����i �c�H��|�l��Ë�v�mQ=Ĵ57��93�EɅB\��=�,'��K%򜮚Wժ<!R�F����ί���[4�pMT�M�`���[^\]�7^��2
e�S����W��e|s���"�/��1eR�<s���+�c+Ϳ�\}^,��S#�2�T�7���j���Zlj'�\�X0�������ʈxM�r��ny����.����;�����O�c4J�#J2�<��1�+?x?B��G�?�($�0Cg��~Q�`��%u~X��8��Q�T�ڢ���.�1��ѯ�.!�j�K �q�H ������� X�����s*��ʃl����)U��Q$�6\S�U�J�p�Sa‹H�d�=1�QNY�+ݘ$X*���{ob����`�0��9&h�ߍ�%�ۛAy �Z*�\'�VB?y�T�I�C��̫�z���~� 2�T6ATƮ3f�Z@m|Z�X0�С�!��}ISI�� �q���T��@�u�~�2���"/���?=Cm4��Hq��A
u�m!|@C
)�u�&��@mXbݧ)����l=ԁr�{�����
z~AHڛ���Ξ�Xl�Z�l��:A�cUw�XL��Zzo �f��(�*�L�!J�&b4�/~:o�vb� �*啚u�.n���#4��ׂ�o�5B�9Gc_w�7Ӗ��=�~���u6�5�~��Ӈ�ǞuK٬t����`8?��YP++� gl�� '�r6��$�ƍ��j.�a�w�X�t�I�Ƃ$>��j�aѽ�/*V:�Ze�@ò4�0$<�,]�; ���6t�<MW�����!�:��jS�����.�X��cS�K# � �P�
���[|������+ޏ�%y�O�������u�[��a�X�h'�iF;B-������q ~��c|��X��Φ׬!�(��^��p���:�A�;�ݝEV����p��=B������l�$h�-h��V�٤����YzК�����b���f��
#!/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)
@Ekultek
Ekultek / ufw-denier.sh
Created August 9, 2018 21:27
A script to download bad IP addresses and deny them with UFW
#!/bin/bash
TMP_DIR="/tmp"
URL_LINKS=$"http://www.blocklist.de/lists/ssh.txt
http://www.blocklist.de/lists/apache.txt
http://www.blocklist.de/lists/asterisk.txt
http://www.blocklist.de/lists/bots.txt
http://www.blocklist.de/lists/courierimap.txt
http://www.blocklist.de/lists/courierpop3.txt
http://www.blocklist.de/lists/email.txt
@Ekultek
Ekultek / denier.sh
Created August 9, 2018 18:30
A script to deny all known Shodan IP addresses
#!/bin/bash
# all known shodan IP addresses
SCANNERIPADDRESSES=$"185.181.102.18
94.102.49.193
94.102.49.190
89.248.167.131
93.174.95.106
185.163.109.66
89.248.172.16
@Ekultek
Ekultek / arpper
Created August 8, 2018 21:26
Simple IP scanner
#!/usr/bin/env python
import shlex
import subprocess
def info(string):
print("[\033[32m+\033[0m] {}".format(string))
@Ekultek
Ekultek / soa.py
Last active July 27, 2018 14:09
Log file scrubber
import os
import time
import string
import random
import argparse
import platform
__version__ = "0.3"
__author__ = "Ekultek"
__progname__ = "soapy"
@Ekultek
Ekultek / copy-locker.sh
Created May 18, 2018 20:22 — forked from NullArray/copy-locker.sh
Shell script that finds all files and directories that have been modified in the last hour, copies them to a temporary directory and stored them as an encrypted archive.
#!/bin/bash
#____ ____ __
#\ \ / /____ _____/ |_ ___________
# \ Y // __ \_/ ___\ __\/ _ \_ __ \
# \ /\ ___/\ \___| | ( <_> ) | \/
# \___/ \___ >\___ >__| \____/|__|
# \/ \/
#--Author : Vector/NullArray
#----Twitter: @Real__Vector
#--------Licensed under GNU GPL 3
@Ekultek
Ekultek / socks.py
Created February 17, 2017 19:20 — forked from e000/socks.py
socksipy + urllib2 handler
"""SocksiPy - Python SOCKS module.
Version 1.00
Copyright 2006 Dan-Haim. All rights reserved.
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice,
50k randoms:
T4LsD32V
QQGBiOnM
B4ZmCL2T
ehTn9oJ4
YlguFQen
mOmpbumH
eftyA0rz
OfnfPDws
@Ekultek
Ekultek / battle.py, game.py, prepare.py
Created August 5, 2016 17:54
Here's all the files
# battle.py
from settings import formatter, BACKPACK, SURVIVAL_TOOLS, \
return_to_camp, die
from choices import try_to_start_fire, build_shelter
from random import randint, random
def battle(animal, weapon, health):
print formatter()
print "To try to kill the {};" \