View non_blocking_working.py
This file contains 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 sys | |
from subprocess import PIPE, Popen | |
from threading import Thread | |
try: | |
from queue import Queue, Empty | |
except ImportError: | |
from Queue import Queue, Empty # python 2.x | |
ON_POSIX = 'posix' in sys.builtin_module_names |
View smartd_pyngui-3.7.2-win32-64.json
This file contains 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
{"calls": [["Crypto", "Crypto"], ["Crypto.Cipher", "Crypto.Cipher"], ["Crypto.Cipher.AES", "Crypto.Cipher"], ["Crypto.Cipher._create_cipher", "Crypto.Cipher"], ["Crypto.Cipher._mode_cbc", "Crypto.Cipher._mode_cbc"], ["Crypto.Cipher._mode_cbc._create_cbc_cipher", "Crypto.Cipher._mode_cbc"], ["Crypto.Cipher._mode_ccm", "Crypto.Cipher._mode_ccm"], ["Crypto.Cipher._mode_ccm._create_ccm_cipher", "Crypto.Cipher._mode_ccm"], ["Crypto.Cipher._mode_cfb", "Crypto.Cipher._mode_cfb"], ["Crypto.Cipher._mode_cfb._create_cfb_cipher", "Crypto.Cipher._mode_cfb"], ["Crypto.Cipher._mode_ctr", "Crypto.Cipher._mode_ctr"], ["Crypto.Cipher._mode_ctr._create_ctr_cipher", "Crypto.Cipher._mode_ctr"], ["Crypto.Cipher._mode_eax", "Crypto.Cipher._mode_eax"], ["Crypto.Cipher._mode_eax._create_eax_cipher", "Crypto.Cipher._mode_eax"], ["Crypto.Cipher._mode_ecb", "Crypto.Cipher._mode_ecb"], ["Crypto.Cipher._mode_ecb._create_ecb_cipher", "Crypto.Cipher._mode_ecb"], ["Crypto.Cipher._mode_gcm", "Crypto.Cipher._mode_gcm"], ["Crypto.Cipher._mode_ |
View gist:64a154cae795edb377045dc06534def4
This file has been truncated, but you can view the full file.
This file contains 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
Statistiques de session | |
[ 4294967308 ] https://nextcloud.someserver.tld/call/srercfva Tue May 07 2019 15:34:29 GMT+0200 (heure dété dEurope centrale) | |
Identifiant PeerConnection: 1557235987674000 (id=4294967308 url=https://nextcloud.someserver.tld/call/srercfva) | |
Statistiques ICE | |
Candidat local Candidat distant ID du composant État ICE Priorité Nommé Sélectionné Octets envoyés Octets reçus | |
ZZ.ZZ.ZZ.ZZ:56241/undefined(host) 10.69.1.63:53122/undefined(host) 1 inprogress 9115005270282338000 false false 0 0 | |
192.168.43.181:56240/undefined(host) 10.69.1.63:53122/undefined(host) 1 inprogress 9114160845352206000 false false 0 0 | |
ZZ.ZZ.ZZ.ZZ:56241/undefined(host) XX.XX.XX.XX:53122/undefined(srflx) 1 frozen 7241541910156673000 false false 0 0 | |
192.168.43.181:56240/undefined(host) XX.XX.XX.XX:53122/undefined(srflx) 1 frozen 7241541910156280000 false false 0 0 |
View service.py
This file contains 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 win32serviceutil | |
import win32service | |
import win32event | |
import win32api | |
import servicemanager | |
import os | |
import sys | |
from time import sleep | |
import socket |
View admin_elevator.py
This file contains 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 -*- | |
# | |
# Copyright 2017-2020 Orsiris de Jong | |
# This file is part of command_runner module | |
""" | |
elevate is a Windows/ unix compatible function elevator for Python 3+ | |
usage: |
View tk-test.py
This file contains 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 __future__ import print_function | |
if str is bytes: | |
try: | |
import Tkinter as tk | |
except: | |
print("Cannot import Tkinter") | |
exit(1) | |
else: | |
try: | |
import tkinter as tk |
View burpdebug.cmd
This file contains 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
@echo off | |
:: quick and dirty burp debug script | |
setlocal enabledelayedexpansion | |
set curdir=%~dp0 | |
set curdir=%curdir:~0,-1% | |
set curdrive=%~d0 |
View csv2json.sh
This file contains 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
#!/bin/bash | |
# CSV to JSON converter using BASH | |
# original script from http://blog.secaserver.com/2013/12/convert-csv-json-bash/ | |
# thanks SecaGuy! | |
# Usage ./csv2json.sh input.csv > output.json | |
input=$1 | |
[ -z $1 ] && echo "No CSV input file specified" && exit 1 | |
[ ! -e $input ] && echo "Unable to locate $1" && exit 1 |
View backup_tool_script
This file contains 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 bash | |
PROGRAM="backup_tool_script" | |
PROGRAM_VERSION=0.4.4 | |
PROGRAM_BUILD=2018110501 | |
AUTHOR="(C) 2017-2018 by Orsiris de Jong" | |
CONTACT="http://www.netpower.fr - ozy@netpower.fr" | |
IS_STABLE=yes | |
## backup_tool_script - A script to check burp backup sanity |
View backup_tool_script
This file contains 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 bash | |
PROGRAM="backup_tool_script" | |
PROGRAM_VERSION=0.4.0 | |
PROGRAM_BUILD=2018021403 | |
AUTHOR="(C) 2017-2018 by Orsiris de Jong" | |
CONTACT="http://www.netpower.fr - ozy@netpower.fr" | |
IS_STABLE=yes | |
#TODO | |
# postponed arrays / files grow a lot. Consider having them "rolling" |
NewerOlder