This file contains hidden or 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 sys | |
import base64 | |
try: | |
sys.argv[1] | |
except Exception: | |
print "[*] ./anti-weev.py filename.php" | |
sys.exit() | |
else: |
This file contains hidden or 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 | |
# -*- coding: utf-8 -*- | |
from Tkinter import * | |
from Queue import Queue | |
import threading | |
class Tk_thread_safe(object): | |
"""Makes Sure that your app isn't going to crash due to tclstack errors""" | |
def __init__(self, tk_root): |
This file contains hidden or 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
from PyQt5 import QtCore, QtGui, QtWidgets | |
if __name__ == "__main__": | |
import sys | |
app = QtWidgets.QApplication(sys.argv) | |
app.setStyle('Fusion') | |
palette = QtGui.QPalette() | |
palette.setColor(QtGui.QPalette.Window, QtGui.QColor(53,53,53)) | |
palette.setColor(QtGui.QPalette.WindowText, QtCore.Qt.white) | |
palette.setColor(QtGui.QPalette.Base, QtGui.QColor(15,15,15)) |
This file contains hidden or 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
#include <stdio.h> | |
#include <locale.h> /* για ελληνικούς χαρακτήρες */ | |
#include <conio.h> /* για το getch */ | |
int main() { | |
setlocale(LC_ALL, ""); /* για ελληνικούς χαρακτήρες */ | |
/* Καταχώρηση μεταβλητών */ | |
int number; |
This file contains hidden or 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
#pragma strict | |
var bulletSpeed: float = 10000; | |
var projectile: GameObject; | |
function Start () { | |
} | |
function Update() | |
{ | |
if(Input.GetKey (KeyCode.Q)) |
This file contains hidden or 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
diffs = differ.compare(files_cache[file_name], log_file.read()) | |
diff_l = [diff for diff in diffs if re.search(diff_regex, diff)] | |
file_diffs[file_name] = "".join(diff_l) |
This file contains hidden or 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 os, sys | |
wordtolook = raw_input(">") | |
for root, directories, filenames in os.walk(os.getcwd()): | |
for filename in filenames: | |
if os.path.join(root,filename) != sys.argv[0]: | |
fileobject = open(os.path.join(root,filename), 'r') | |
if wordtolook in fileobject.read(): | |
print "{0} at :{1}".format(wordtolook, fileobject.name) | |
fileobject.close() |
This file contains hidden or 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
__author__ = 'John' | |
import random | |
colors = { | |
'B': 'Blue', | |
'R': 'Red', | |
'Y': 'Yellow', | |
'G': 'Green', | |
'W': 'White', |
This file contains hidden or 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
Code used in Fosscomm 2016 |