Skip to content

Instantly share code, notes, and snippets.

Orsiris de Jong deajan

Block or report user

Report or block deajan

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View smartd_pyngui-3.7.2-win32-64.json
{"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.
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
@deajan
deajan / service.py
Created Jan 24, 2019
python_service
View service.py
import win32serviceutil
import win32service
import win32event
import win32api
import servicemanager
import os
import sys
from time import sleep
import socket
@deajan
deajan / admin_elevator.py
Last active Nov 19, 2019
Python elevation code that works on Windows and Linux, with Nuitka, PyInstaller and CPython
View admin_elevator.py
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# Checks for Windows UAC or Linux root privileges, if not found, tries to elevate or relaunch script with sudo
# Also keeps arguments safe by quoting them since on ShellExecute functions, arguments are passed as one string
import sys
import os
# Logging modules
import tempfile
@deajan
deajan / tk-test.py
Created Dec 13, 2018
tk test for nuitka
View tk-test.py
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
@echo off
:: quick and dirty burp debug script
setlocal enabledelayedexpansion
set curdir=%~dp0
set curdir=%curdir:~0,-1%
set curdrive=%~d0
@deajan
deajan / csv2json.sh
Created Jul 9, 2018 — forked from dsliberty/csv2json.sh
CSV to JSON converter using BASH. Original script from http://blog.secaserver.com/2013/12/convert-csv-json-bash/
View csv2json.sh
#!/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
@deajan
deajan / backup_tool_script
Last active Nov 29, 2018
backup_tool_script v0.4.4
View backup_tool_script
#!/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
#!/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"
@deajan
deajan / burp_tool.sh
Created Dec 4, 2017
burp_tool script
View burp_tool.sh
#!/usr/bin/env bash
PROGRAM="burp_tool"
PROGRAM_VERSION=0.2.0
PROGRAM_BUILD=2017120402
AUTHOR="(C) 2017 by Orsiris de Jong"
CONTACT="http://www.netpower.fr - ozy@netpower.fr"
IS_STABLE=no
## burp-tool.sh - A script to check burp backup sanity
You can’t perform that action at this time.