diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..82fd733 --- /dev/null +++ b/.gitignore @@ -0,0 +1,8 @@ +_codeql_detected_source_root +__pycache__/ +*.pyc +*.pyo +.pytest_cache/ +*.egg-info/ +dist/ +build/ diff --git a/README.md b/README.md new file mode 100644 index 0000000..a262ee4 --- /dev/null +++ b/README.md @@ -0,0 +1,74 @@ +# misc + +A collection of miscellaneous scripts, tools, and experiments by [Dario Clavijo](https://github.com/daedalus). + +Topics covered include cryptography, Bitcoin/blockchain tooling, security research, networking utilities, system administration, mathematics, and general utilities. + +## Directory Layout + +``` +misc/ +├── crypto/ Cryptographic algorithms, primitives, and tests +│ (AES, RSA, ECDSA, DH, TOTP, PRNG, hashes, encoding) +├── bitcoin/ Bitcoin and blockchain tools +│ (address utilities, node scanners, miners, FactorDB) +├── security/ Security research and offensive tooling +│ (CVE PoCs, network reconnaissance, forensics, credential tools) +├── networking/ Networking utilities +│ (DNS, FTP, Docker Swarm, iptables, Tor, JSON-RPC) +├── sysadmin/ System administration scripts +│ (backups, storage, VM management, Android, package setup) +├── math/ Mathematics and computer science experiments +│ (LFSR, IEEE-754, ALU, number theory, combinatorics) +├── utils/ General-purpose utilities and tests +│ (compression, data encoding, file tools, ML helpers) +└── examples/ Example images used in demonstrations +``` + +## Usage + +Most scripts are standalone and can be run directly: + +```bash +# Python scripts +python crypto/simple_sha256.py +python math/ackermann.py + +# Shell scripts +bash sysadmin/fastcommit.sh +bash security/certfinder.sh example.com +``` + +Some scripts require third-party dependencies. Install them with: + +```bash +pip install -r requirements.txt +``` + +See each script's header comment for specific usage instructions and any additional dependencies. + +## Requirements + +- Python 3.6+ +- Various third-party packages (see `requirements.txt`) +- Some shell scripts require Linux-specific tools (e.g., `cryptsetup`, `virsh`, `nmap`) + +--- + +## DISCLAIMER + +> **Security & Offensive Tooling — Authorized and Educational Use Only** +> +> Several scripts in this repository (particularly under `security/`, `crypto/`, and `bitcoin/`) implement or demonstrate offensive security techniques, cryptographic attacks, vulnerability proofs-of-concept, credential extraction methods, and network reconnaissance tools. +> +> **These scripts are provided strictly for:** +> - Authorized penetration testing on systems you own or have explicit written permission to test +> - Academic research and educational purposes +> - Controlled lab environments +> +> **You must NOT use these tools to:** +> - Access systems, networks, or data without explicit authorization +> - Conduct any activity that violates applicable local, national, or international law +> - Harm individuals, organizations, or infrastructure +> +> The author(s) accept no liability for misuse. By using any script in this repository, you agree that you are solely responsible for ensuring your use complies with all applicable laws and regulations. diff --git a/bitcoin/__init__.py b/bitcoin/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/bitcoin_mongozer.sh b/bitcoin/bitcoin_mongozer.sh similarity index 100% rename from bitcoin_mongozer.sh rename to bitcoin/bitcoin_mongozer.sh diff --git a/bitcrack.sh b/bitcoin/bitcrack.sh similarity index 100% rename from bitcrack.sh rename to bitcoin/bitcrack.sh diff --git a/bitnodes.py b/bitcoin/bitnodes.py similarity index 100% rename from bitnodes.py rename to bitcoin/bitnodes.py diff --git a/bitsigtest.py b/bitcoin/bitsigtest.py similarity index 100% rename from bitsigtest.py rename to bitcoin/bitsigtest.py diff --git a/brainflayer_parallelize.py b/bitcoin/brainflayer_parallelize.py similarity index 100% rename from brainflayer_parallelize.py rename to bitcoin/brainflayer_parallelize.py diff --git a/btcaddrinputget.py b/bitcoin/btcaddrinputget.py similarity index 100% rename from btcaddrinputget.py rename to bitcoin/btcaddrinputget.py diff --git a/build_bitcoin.sh b/bitcoin/build_bitcoin.sh similarity index 100% rename from build_bitcoin.sh rename to bitcoin/build_bitcoin.sh diff --git a/factordb_report.py b/bitcoin/factordb_report.py similarity index 100% rename from factordb_report.py rename to bitcoin/factordb_report.py diff --git a/factordb_scraper.py b/bitcoin/factordb_scraper.py similarity index 100% rename from factordb_scraper.py rename to bitcoin/factordb_scraper.py diff --git a/factordb_submit.sh b/bitcoin/factordb_submit.sh similarity index 100% rename from factordb_submit.sh rename to bitcoin/factordb_submit.sh diff --git a/hash160.sh b/bitcoin/hash160.sh similarity index 100% rename from hash160.sh rename to bitcoin/hash160.sh diff --git a/miner_config.sh b/bitcoin/miner_config.sh similarity index 100% rename from miner_config.sh rename to bitcoin/miner_config.sh diff --git a/testxchain.py b/bitcoin/testxchain.py similarity index 100% rename from testxchain.py rename to bitcoin/testxchain.py diff --git a/TOTP_test.py b/crypto/TOTP_test.py similarity index 100% rename from TOTP_test.py rename to crypto/TOTP_test.py diff --git a/TOTP_test2.py b/crypto/TOTP_test2.py similarity index 100% rename from TOTP_test2.py rename to crypto/TOTP_test2.py diff --git a/X16Rlike.py b/crypto/X16Rlike.py similarity index 100% rename from X16Rlike.py rename to crypto/X16Rlike.py diff --git a/crypto/__init__.py b/crypto/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/aes128ecb_leakinfoflawtest.sh b/crypto/aes128ecb_leakinfoflawtest.sh similarity index 100% rename from aes128ecb_leakinfoflawtest.sh rename to crypto/aes128ecb_leakinfoflawtest.sh diff --git a/classic_shor.py b/crypto/classic_shor.py similarity index 100% rename from classic_shor.py rename to crypto/classic_shor.py diff --git a/convert_luks_argon2id.py b/crypto/convert_luks_argon2id.py similarity index 100% rename from convert_luks_argon2id.py rename to crypto/convert_luks_argon2id.py diff --git a/crack_AES256.py b/crypto/crack_AES256.py similarity index 100% rename from crack_AES256.py rename to crypto/crack_AES256.py diff --git a/crc_make_tables.py b/crypto/crc_make_tables.py similarity index 100% rename from crc_make_tables.py rename to crypto/crc_make_tables.py diff --git a/cryptsetup_lukskeyadd_masterkey_dump_combinator.py b/crypto/cryptsetup_lukskeyadd_masterkey_dump_combinator.py similarity index 100% rename from cryptsetup_lukskeyadd_masterkey_dump_combinator.py rename to crypto/cryptsetup_lukskeyadd_masterkey_dump_combinator.py diff --git a/ecdsa_privtopub.py b/crypto/ecdsa_privtopub.py similarity index 100% rename from ecdsa_privtopub.py rename to crypto/ecdsa_privtopub.py diff --git a/hashtime.py b/crypto/hashtime.py similarity index 100% rename from hashtime.py rename to crypto/hashtime.py diff --git a/lfsr.py b/crypto/lfsr.py similarity index 100% rename from lfsr.py rename to crypto/lfsr.py diff --git a/murmur32.py b/crypto/murmur32.py similarity index 100% rename from murmur32.py rename to crypto/murmur32.py diff --git a/obfuscator.py b/crypto/obfuscator.py similarity index 100% rename from obfuscator.py rename to crypto/obfuscator.py diff --git a/originstamp_privkey_get.py b/crypto/originstamp_privkey_get.py similarity index 100% rename from originstamp_privkey_get.py rename to crypto/originstamp_privkey_get.py diff --git a/pmkid_test_calc.py b/crypto/pmkid_test_calc.py similarity index 100% rename from pmkid_test_calc.py rename to crypto/pmkid_test_calc.py diff --git a/prngtest.py b/crypto/prngtest.py similarity index 100% rename from prngtest.py rename to crypto/prngtest.py diff --git a/pw-aes-memcache.py b/crypto/pw-aes-memcache.py similarity index 100% rename from pw-aes-memcache.py rename to crypto/pw-aes-memcache.py diff --git a/rc4prng.py b/crypto/rc4prng.py similarity index 100% rename from rc4prng.py rename to crypto/rc4prng.py diff --git a/rot.py b/crypto/rot.py similarity index 100% rename from rot.py rename to crypto/rot.py diff --git a/rot13.py b/crypto/rot13.py similarity index 100% rename from rot13.py rename to crypto/rot13.py diff --git a/rsa_challenge_list.py b/crypto/rsa_challenge_list.py similarity index 100% rename from rsa_challenge_list.py rename to crypto/rsa_challenge_list.py diff --git a/rsa_conspicuous_check.py b/crypto/rsa_conspicuous_check.py similarity index 100% rename from rsa_conspicuous_check.py rename to crypto/rsa_conspicuous_check.py diff --git a/rsa_pair_factoring.py b/crypto/rsa_pair_factoring.py similarity index 100% rename from rsa_pair_factoring.py rename to crypto/rsa_pair_factoring.py diff --git a/sha1_radius_pw_generator.py b/crypto/sha1_radius_pw_generator.py similarity index 100% rename from sha1_radius_pw_generator.py rename to crypto/sha1_radius_pw_generator.py diff --git a/simple_sha256.py b/crypto/simple_sha256.py similarity index 100% rename from simple_sha256.py rename to crypto/simple_sha256.py diff --git a/simplecrypt.py b/crypto/simplecrypt.py similarity index 100% rename from simplecrypt.py rename to crypto/simplecrypt.py diff --git a/sqrt_crypt.py b/crypto/sqrt_crypt.py similarity index 100% rename from sqrt_crypt.py rename to crypto/sqrt_crypt.py diff --git a/testAES256.py b/crypto/testAES256.py similarity index 100% rename from testAES256.py rename to crypto/testAES256.py diff --git a/testDH.py b/crypto/testDH.py similarity index 100% rename from testDH.py rename to crypto/testDH.py diff --git a/test_AES256_2.py b/crypto/test_AES256_2.py similarity index 100% rename from test_AES256_2.py rename to crypto/test_AES256_2.py diff --git a/test_decrypt_fvek.py b/crypto/test_decrypt_fvek.py similarity index 100% rename from test_decrypt_fvek.py rename to crypto/test_decrypt_fvek.py diff --git a/test_rsa.py b/crypto/test_rsa.py similarity index 100% rename from test_rsa.py rename to crypto/test_rsa.py diff --git a/test_rsa_weak_primes.py b/crypto/test_rsa_weak_primes.py similarity index 100% rename from test_rsa_weak_primes.py rename to crypto/test_rsa_weak_primes.py diff --git a/test_rsa_wiener_attack.py b/crypto/test_rsa_wiener_attack.py similarity index 100% rename from test_rsa_wiener_attack.py rename to crypto/test_rsa_wiener_attack.py diff --git a/IEEE_754_1985_FPR.py b/math/IEEE_754_1985_FPR.py similarity index 100% rename from IEEE_754_1985_FPR.py rename to math/IEEE_754_1985_FPR.py diff --git a/PID.py b/math/PID.py similarity index 100% rename from PID.py rename to math/PID.py diff --git a/RLL.py b/math/RLL.py similarity index 100% rename from RLL.py rename to math/RLL.py diff --git a/math/__init__.py b/math/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/ackermann.py b/math/ackermann.py similarity index 100% rename from ackermann.py rename to math/ackermann.py diff --git a/binet_oeis_crawl.py b/math/binet_oeis_crawl.py similarity index 100% rename from binet_oeis_crawl.py rename to math/binet_oeis_crawl.py diff --git a/branchless.py b/math/branchless.py similarity index 100% rename from branchless.py rename to math/branchless.py diff --git a/count_bits_order.py b/math/count_bits_order.py similarity index 100% rename from count_bits_order.py rename to math/count_bits_order.py diff --git a/fibo_eigenvectors.py b/math/fibo_eigenvectors.py similarity index 100% rename from fibo_eigenvectors.py rename to math/fibo_eigenvectors.py diff --git a/heaps.py b/math/heaps.py similarity index 100% rename from heaps.py rename to math/heaps.py diff --git a/helloworld.asm b/math/helloworld.asm similarity index 100% rename from helloworld.asm rename to math/helloworld.asm diff --git a/integer_period.py b/math/integer_period.py similarity index 100% rename from integer_period.py rename to math/integer_period.py diff --git a/integerencoder.py b/math/integerencoder.py similarity index 100% rename from integerencoder.py rename to math/integerencoder.py diff --git a/machine_division.py b/math/machine_division.py similarity index 100% rename from machine_division.py rename to math/machine_division.py diff --git a/machine_multiplicator.py b/math/machine_multiplicator.py similarity index 100% rename from machine_multiplicator.py rename to math/machine_multiplicator.py diff --git a/mathblool.py b/math/mathblool.py similarity index 100% rename from mathblool.py rename to math/mathblool.py diff --git a/mathblool2.py b/math/mathblool2.py similarity index 100% rename from mathblool2.py rename to math/mathblool2.py diff --git a/mathblool3.py b/math/mathblool3.py similarity index 100% rename from mathblool3.py rename to math/mathblool3.py diff --git a/skipgrams.py b/math/skipgrams.py similarity index 100% rename from skipgrams.py rename to math/skipgrams.py diff --git a/stochastic.py b/math/stochastic.py similarity index 100% rename from stochastic.py rename to math/stochastic.py diff --git a/subleq2.py b/math/subleq2.py similarity index 100% rename from subleq2.py rename to math/subleq2.py diff --git a/swapbytes.py b/math/swapbytes.py similarity index 100% rename from swapbytes.py rename to math/swapbytes.py diff --git a/testALU.py b/math/testALU.py similarity index 100% rename from testALU.py rename to math/testALU.py diff --git a/testQuasiLinearGCD.py b/math/testQuasiLinearGCD.py similarity index 100% rename from testQuasiLinearGCD.py rename to math/testQuasiLinearGCD.py diff --git a/testSHIFTbits.py b/math/testSHIFTbits.py similarity index 100% rename from testSHIFTbits.py rename to math/testSHIFTbits.py diff --git a/test_rsqrt.py b/math/test_rsqrt.py similarity index 100% rename from test_rsqrt.py rename to math/test_rsqrt.py diff --git a/test_timing.py b/math/test_timing.py similarity index 100% rename from test_timing.py rename to math/test_timing.py diff --git a/trig.c b/math/trig.c similarity index 100% rename from trig.c rename to math/trig.c diff --git a/networking/__init__.py b/networking/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/dnsreceiver.py b/networking/dnsreceiver.py similarity index 100% rename from dnsreceiver.py rename to networking/dnsreceiver.py diff --git a/docker-get-swarm-nodes-ips.py b/networking/docker-get-swarm-nodes-ips.py similarity index 100% rename from docker-get-swarm-nodes-ips.py rename to networking/docker-get-swarm-nodes-ips.py diff --git a/ftpmassuploader.py b/networking/ftpmassuploader.py similarity index 100% rename from ftpmassuploader.py rename to networking/ftpmassuploader.py diff --git a/iperf.sh b/networking/iperf.sh similarity index 100% rename from iperf.sh rename to networking/iperf.sh diff --git a/iptables_block_tor.sh b/networking/iptables_block_tor.sh similarity index 100% rename from iptables_block_tor.sh rename to networking/iptables_block_tor.sh diff --git a/json_rpc.py b/networking/json_rpc.py similarity index 100% rename from json_rpc.py rename to networking/json_rpc.py diff --git a/logsearch.py b/networking/logsearch.py similarity index 100% rename from logsearch.py rename to networking/logsearch.py diff --git a/mass_resolv.sh b/networking/mass_resolv.sh similarity index 100% rename from mass_resolv.sh rename to networking/mass_resolv.sh diff --git a/networkManagement.py b/networking/networkManagement.py similarity index 100% rename from networkManagement.py rename to networking/networkManagement.py diff --git a/ntp_conf.sh b/networking/ntp_conf.sh similarity index 100% rename from ntp_conf.sh rename to networking/ntp_conf.sh diff --git a/test_torrent_tracker.py b/networking/test_torrent_tracker.py similarity index 100% rename from test_torrent_tracker.py rename to networking/test_torrent_tracker.py diff --git a/tor_whatismyip.sh b/networking/tor_whatismyip.sh similarity index 100% rename from tor_whatismyip.sh rename to networking/tor_whatismyip.sh diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..7a66340 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,24 @@ +[tool.black] +line-length = 88 +target-version = ["py38", "py39", "py310", "py311"] + +[tool.ruff] +line-length = 88 +target-version = "py38" + +[tool.ruff.lint] +select = ["E", "F", "W", "I"] +ignore = [ + "E501", # line too long (handled by formatter) + "E402", # module level import not at top of file + "F401", # imported but unused (many scripts are standalone) + "F841", # local variable assigned but never used +] + +[tool.ruff.lint.per-file-ignores] +"**/*.py" = ["E302", "E303"] + +[tool.flake8] +max-line-length = 88 +max-complexity = 10 +extend-ignore = "E501,E402" diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..bb9aabf --- /dev/null +++ b/requirements.txt @@ -0,0 +1,57 @@ +# Third-party dependencies used across scripts in this repository. +# Install with: pip install -r requirements.txt +# Note: some packages (e.g. lzo, bitshuffle) may require system libraries. + +# Cryptography +pycryptodome # Crypto.Cipher, Crypto.Random (crack_AES256.py, pw-aes-memcache.py, testAES256.py) +cryptography # cryptography.fernet, PBKDF2HMAC (convert_luks_argon2id.py) +M2Crypto # android_fde_decryptkey.py +gmpy2 # classic_shor.py, rsa_*.py, test_timing.py +pyotp # TOTP_test.py, TOTP_test2.py +pbkdf2 # pmkid_test_calc.py +sha3 # hashtime.py (pysha3 / Python 3.6+ has it in hashlib) +qrcode # TOTP_test2.py + +# Bitcoin / blockchain +# bip_utils # testxchain.py (optional) + +# Security / networking +paramiko # brocade_version.py, cisco_paramiko_ssh.py +shodan # shodanMinerSearch.py, shodan_jsonfile_decoder_ssl_to_pem.py +python-nmap # check_nmap.py +passbolt-python-api # passbolt_api_hibp_test.py +pwnedpasswords # passbolt_api_hibp_test.py +graphviz # SANMAP.py +humanfriendly # SIMM_Pin_Recovery.py +pyping # msfhelper.py + +# System / data +docker # docker-get-swarm-nodes-ips.py +libkeepass # testkdbx.py +hexdump # mmapread.py + +# Data processing / ML +numpy # bitshuffle.py, shuffledata.py, testshuffle.py, test_revealercc.py +Pillow # test_revealercc.py +matplotlib # test_revealercc.py +scikit-learn # test_sklearn_vectorizers.py +pandas # test_sklearn_vectorizers.py + +# Compression +lz4 # compression_test1.py, testshuffle.py, test_compress_diff.py +brotli # compression_test1.py +# lzo # compression_test1.py, testshuffle.py (requires liblzo2-dev) +# bitshuffle # testshuffle.py (requires numpy C extension) + +# Utilities +oeispy # binet_oeis_crawl.py +sympy # heaps.py +simplejson # CVE-2017-7679.py +bencode # test_bencode.py +pgpdump # testpgpdump.py +tqdm # passbolt_api_hibp_test.py +holidays # licencia.py +workdays # licencia.py +beautifulsoup4 # dinacia-scraper.py +google-cloud-bigquery # bigquery_batch_execute.py +smartcard # (pyscard) convert_luks_argon2id.py diff --git a/CVE-2012-6636.py b/security/CVE-2012-6636.py similarity index 100% rename from CVE-2012-6636.py rename to security/CVE-2012-6636.py diff --git a/CVE-2016-2017.py b/security/CVE-2016-2017.py similarity index 100% rename from CVE-2016-2017.py rename to security/CVE-2016-2017.py diff --git a/CVE-2017-7679.py b/security/CVE-2017-7679.py similarity index 100% rename from CVE-2017-7679.py rename to security/CVE-2017-7679.py diff --git a/DisableWindowsRecall.ps1 b/security/DisableWindowsRecall.ps1 similarity index 100% rename from DisableWindowsRecall.ps1 rename to security/DisableWindowsRecall.ps1 diff --git a/SANMAP.py b/security/SANMAP.py similarity index 100% rename from SANMAP.py rename to security/SANMAP.py diff --git a/SIMM_Pin_Recovery.py b/security/SIMM_Pin_Recovery.py similarity index 100% rename from SIMM_Pin_Recovery.py rename to security/SIMM_Pin_Recovery.py diff --git a/security/__init__.py b/security/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/alex_ctf_usb_probe.sh b/security/alex_ctf_usb_probe.sh similarity index 100% rename from alex_ctf_usb_probe.sh rename to security/alex_ctf_usb_probe.sh diff --git a/android_fde_decrypter.sh b/security/android_fde_decrypter.sh similarity index 83% rename from android_fde_decrypter.sh rename to security/android_fde_decrypter.sh index eb2a373..5c6e186 100644 --- a/android_fde_decrypter.sh +++ b/security/android_fde_decrypter.sh @@ -13,7 +13,7 @@ EF=/tmp/encryption_footer OFFSET=$(strings -t d $DEV | grep -e aes-cbc-essiv:sha256 | awk '{ print $1 }') dd bs=1 skip=$(($OFFSET-36)) count=16384 if=$DEV of=$EF -curl https://raw.githubusercontent.com/daedalus/misc/master/android_fde_decryptkey.py > android_fde_decryptkey.py +curl https://raw.githubusercontent.com/daedalus/misc/master/security/android_fde_decryptkey.py > android_fde_decryptkey.py python android_fde_decryptkey.py $EF $DEV $PW | xxd -r -ps > $KEYFILE diff --git a/android_fde_decryptkey.py b/security/android_fde_decryptkey.py similarity index 100% rename from android_fde_decryptkey.py rename to security/android_fde_decryptkey.py diff --git a/brocade_version.py b/security/brocade_version.py similarity index 100% rename from brocade_version.py rename to security/brocade_version.py diff --git a/certfinder.sh b/security/certfinder.sh similarity index 100% rename from certfinder.sh rename to security/certfinder.sh diff --git a/check_nmap.py b/security/check_nmap.py similarity index 100% rename from check_nmap.py rename to security/check_nmap.py diff --git a/cisco_paramiko_ssh.py b/security/cisco_paramiko_ssh.py similarity index 100% rename from cisco_paramiko_ssh.py rename to security/cisco_paramiko_ssh.py diff --git a/cookiedump.py b/security/cookiedump.py similarity index 100% rename from cookiedump.py rename to security/cookiedump.py diff --git a/findProcKeys.sh b/security/findProcKeys.sh similarity index 100% rename from findProcKeys.sh rename to security/findProcKeys.sh diff --git a/keyfinder.sh b/security/keyfinder.sh similarity index 100% rename from keyfinder.sh rename to security/keyfinder.sh diff --git a/mitm.sh b/security/mitm.sh similarity index 100% rename from mitm.sh rename to security/mitm.sh diff --git a/msfhelper.py b/security/msfhelper.py similarity index 100% rename from msfhelper.py rename to security/msfhelper.py diff --git a/openvas-tasks-backup.sh b/security/openvas-tasks-backup.sh similarity index 100% rename from openvas-tasks-backup.sh rename to security/openvas-tasks-backup.sh diff --git a/openvas-update.sh b/security/openvas-update.sh similarity index 100% rename from openvas-update.sh rename to security/openvas-update.sh diff --git a/passbolt_api_hibp_test.py b/security/passbolt_api_hibp_test.py similarity index 100% rename from passbolt_api_hibp_test.py rename to security/passbolt_api_hibp_test.py diff --git a/readprocmem.py b/security/readprocmem.py similarity index 100% rename from readprocmem.py rename to security/readprocmem.py diff --git a/shodanMinerSearch.py b/security/shodanMinerSearch.py similarity index 100% rename from shodanMinerSearch.py rename to security/shodanMinerSearch.py diff --git a/shodan_jsonfile_decoder_ssl_to_pem.py b/security/shodan_jsonfile_decoder_ssl_to_pem.py similarity index 100% rename from shodan_jsonfile_decoder_ssl_to_pem.py rename to security/shodan_jsonfile_decoder_ssl_to_pem.py diff --git a/ssh_id_rsa_pub_test.py b/security/ssh_id_rsa_pub_test.py similarity index 100% rename from ssh_id_rsa_pub_test.py rename to security/ssh_id_rsa_pub_test.py diff --git a/sslcertget.py b/security/sslcertget.py similarity index 100% rename from sslcertget.py rename to security/sslcertget.py diff --git a/2proc_pmutex.py b/sysadmin/2proc_pmutex.py similarity index 100% rename from 2proc_pmutex.py rename to sysadmin/2proc_pmutex.py diff --git a/Android_Adblock.sh b/sysadmin/Android_Adblock.sh similarity index 100% rename from Android_Adblock.sh rename to sysadmin/Android_Adblock.sh diff --git a/Kbuild.sh b/sysadmin/Kbuild.sh similarity index 100% rename from Kbuild.sh rename to sysadmin/Kbuild.sh diff --git a/sysadmin/__init__.py b/sysadmin/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/android_chroot.sh b/sysadmin/android_chroot.sh similarity index 100% rename from android_chroot.sh rename to sysadmin/android_chroot.sh diff --git a/asus_thermal.py b/sysadmin/asus_thermal.py similarity index 100% rename from asus_thermal.py rename to sysadmin/asus_thermal.py diff --git a/bci_tags_fetch.sh b/sysadmin/bci_tags_fetch.sh similarity index 100% rename from bci_tags_fetch.sh rename to sysadmin/bci_tags_fetch.sh diff --git a/bigquery_batch_execute.py b/sysadmin/bigquery_batch_execute.py similarity index 100% rename from bigquery_batch_execute.py rename to sysadmin/bigquery_batch_execute.py diff --git a/bitwarden_setup.sh b/sysadmin/bitwarden_setup.sh similarity index 100% rename from bitwarden_setup.sh rename to sysadmin/bitwarden_setup.sh diff --git a/bonner.sh b/sysadmin/bonner.sh similarity index 100% rename from bonner.sh rename to sysadmin/bonner.sh diff --git a/bonner2.sh b/sysadmin/bonner2.sh similarity index 100% rename from bonner2.sh rename to sysadmin/bonner2.sh diff --git a/btrfs-restore.sh b/sysadmin/btrfs-restore.sh similarity index 100% rename from btrfs-restore.sh rename to sysadmin/btrfs-restore.sh diff --git a/build-kvdo.sh b/sysadmin/build-kvdo.sh similarity index 100% rename from build-kvdo.sh rename to sysadmin/build-kvdo.sh diff --git a/build_install_rtl8188fu.sh b/sysadmin/build_install_rtl8188fu.sh similarity index 100% rename from build_install_rtl8188fu.sh rename to sysadmin/build_install_rtl8188fu.sh diff --git a/ceph_create_pool_image.sh b/sysadmin/ceph_create_pool_image.sh similarity index 100% rename from ceph_create_pool_image.sh rename to sysadmin/ceph_create_pool_image.sh diff --git a/dedupe_report.sh b/sysadmin/dedupe_report.sh similarity index 100% rename from dedupe_report.sh rename to sysadmin/dedupe_report.sh diff --git a/drop_caches.sh b/sysadmin/drop_caches.sh similarity index 100% rename from drop_caches.sh rename to sysadmin/drop_caches.sh diff --git a/esxi_rsync_backup.sh b/sysadmin/esxi_rsync_backup.sh similarity index 100% rename from esxi_rsync_backup.sh rename to sysadmin/esxi_rsync_backup.sh diff --git a/exo2mp4.py b/sysadmin/exo2mp4.py similarity index 100% rename from exo2mp4.py rename to sysadmin/exo2mp4.py diff --git a/fake_install_adb.sh b/sysadmin/fake_install_adb.sh similarity index 100% rename from fake_install_adb.sh rename to sysadmin/fake_install_adb.sh diff --git a/fastcommit.sh b/sysadmin/fastcommit.sh similarity index 100% rename from fastcommit.sh rename to sysadmin/fastcommit.sh diff --git a/filesorter.sh b/sysadmin/filesorter.sh similarity index 100% rename from filesorter.sh rename to sysadmin/filesorter.sh diff --git a/gpg2apt.sh b/sysadmin/gpg2apt.sh similarity index 100% rename from gpg2apt.sh rename to sysadmin/gpg2apt.sh diff --git a/imm_pasadas.py b/sysadmin/imm_pasadas.py similarity index 100% rename from imm_pasadas.py rename to sysadmin/imm_pasadas.py diff --git a/macchanger.sh b/sysadmin/macchanger.sh similarity index 100% rename from macchanger.sh rename to sysadmin/macchanger.sh diff --git a/mkcryptdisk.sh b/sysadmin/mkcryptdisk.sh similarity index 100% rename from mkcryptdisk.sh rename to sysadmin/mkcryptdisk.sh diff --git a/mmapread.py b/sysadmin/mmapread.py similarity index 100% rename from mmapread.py rename to sysadmin/mmapread.py diff --git a/mysql_ssh_replica.sh b/sysadmin/mysql_ssh_replica.sh similarity index 100% rename from mysql_ssh_replica.sh rename to sysadmin/mysql_ssh_replica.sh diff --git a/nbdsetup.sh b/sysadmin/nbdsetup.sh similarity index 100% rename from nbdsetup.sh rename to sysadmin/nbdsetup.sh diff --git a/pureatic_beep.sh b/sysadmin/pureatic_beep.sh similarity index 100% rename from pureatic_beep.sh rename to sysadmin/pureatic_beep.sh diff --git a/qr_import.sh b/sysadmin/qr_import.sh similarity index 100% rename from qr_import.sh rename to sysadmin/qr_import.sh diff --git a/saferename_volgroup.sh b/sysadmin/saferename_volgroup.sh similarity index 100% rename from saferename_volgroup.sh rename to sysadmin/saferename_volgroup.sh diff --git a/screenqrdecoder.sh b/sysadmin/screenqrdecoder.sh similarity index 100% rename from screenqrdecoder.sh rename to sysadmin/screenqrdecoder.sh diff --git a/srt_sort.sh b/sysadmin/srt_sort.sh similarity index 100% rename from srt_sort.sh rename to sysadmin/srt_sort.sh diff --git a/ssh-copy-id-esxi.sh b/sysadmin/ssh-copy-id-esxi.sh similarity index 100% rename from ssh-copy-id-esxi.sh rename to sysadmin/ssh-copy-id-esxi.sh diff --git a/tuxshuff.sh b/sysadmin/tuxshuff.sh similarity index 100% rename from tuxshuff.sh rename to sysadmin/tuxshuff.sh diff --git a/unwhite.sh b/sysadmin/unwhite.sh similarity index 100% rename from unwhite.sh rename to sysadmin/unwhite.sh diff --git a/uploadmailbackup.sh b/sysadmin/uploadmailbackup.sh similarity index 100% rename from uploadmailbackup.sh rename to sysadmin/uploadmailbackup.sh diff --git a/vault.py b/sysadmin/vault.py similarity index 100% rename from vault.py rename to sysadmin/vault.py diff --git a/virsh_define_helper.sh b/sysadmin/virsh_define_helper.sh similarity index 100% rename from virsh_define_helper.sh rename to sysadmin/virsh_define_helper.sh diff --git a/vm-suspend-test.sh b/sysadmin/vm-suspend-test.sh similarity index 100% rename from vm-suspend-test.sh rename to sysadmin/vm-suspend-test.sh diff --git a/vscode_install.sh b/sysadmin/vscode_install.sh similarity index 100% rename from vscode_install.sh rename to sysadmin/vscode_install.sh diff --git a/winerun.sh b/sysadmin/winerun.sh similarity index 100% rename from winerun.sh rename to sysadmin/winerun.sh diff --git a/zram.sh b/sysadmin/zram.sh similarity index 100% rename from zram.sh rename to sysadmin/zram.sh diff --git a/utils/__init__.py b/utils/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/array.py b/utils/array.py similarity index 100% rename from array.py rename to utils/array.py diff --git a/bitshuffle.py b/utils/bitshuffle.py similarity index 100% rename from bitshuffle.py rename to utils/bitshuffle.py diff --git a/cdll_test.py b/utils/cdll_test.py similarity index 100% rename from cdll_test.py rename to utils/cdll_test.py diff --git a/compression_test1.py b/utils/compression_test1.py similarity index 100% rename from compression_test1.py rename to utils/compression_test1.py diff --git a/compression_test2.py b/utils/compression_test2.py similarity index 100% rename from compression_test2.py rename to utils/compression_test2.py diff --git a/delta_encoder.py b/utils/delta_encoder.py similarity index 100% rename from delta_encoder.py rename to utils/delta_encoder.py diff --git a/dinacia-scraper.py b/utils/dinacia-scraper.py similarity index 100% rename from dinacia-scraper.py rename to utils/dinacia-scraper.py diff --git a/fcut.py b/utils/fcut.py similarity index 100% rename from fcut.py rename to utils/fcut.py diff --git a/file_cut_simple.py b/utils/file_cut_simple.py similarity index 100% rename from file_cut_simple.py rename to utils/file_cut_simple.py diff --git a/jpghdectest.py b/utils/jpghdectest.py similarity index 100% rename from jpghdectest.py rename to utils/jpghdectest.py diff --git a/licencia.py b/utils/licencia.py similarity index 100% rename from licencia.py rename to utils/licencia.py diff --git a/list_time_test.py b/utils/list_time_test.py similarity index 100% rename from list_time_test.py rename to utils/list_time_test.py diff --git a/lrutest.py b/utils/lrutest.py similarity index 100% rename from lrutest.py rename to utils/lrutest.py diff --git a/png_graph.rad2 b/utils/png_graph.rad2 similarity index 100% rename from png_graph.rad2 rename to utils/png_graph.rad2 diff --git a/readtest.py b/utils/readtest.py similarity index 100% rename from readtest.py rename to utils/readtest.py diff --git a/regex_test.py b/utils/regex_test.py similarity index 100% rename from regex_test.py rename to utils/regex_test.py diff --git a/rpn.py b/utils/rpn.py similarity index 100% rename from rpn.py rename to utils/rpn.py diff --git a/rpn2.py b/utils/rpn2.py similarity index 100% rename from rpn2.py rename to utils/rpn2.py diff --git a/securerandom_test.java b/utils/securerandom_test.java similarity index 100% rename from securerandom_test.java rename to utils/securerandom_test.java diff --git a/shuffledata.py b/utils/shuffledata.py similarity index 100% rename from shuffledata.py rename to utils/shuffledata.py diff --git a/splice.py b/utils/splice.py similarity index 100% rename from splice.py rename to utils/splice.py diff --git a/test_bencode.py b/utils/test_bencode.py similarity index 100% rename from test_bencode.py rename to utils/test_bencode.py diff --git a/test_compress_diff.py b/utils/test_compress_diff.py similarity index 100% rename from test_compress_diff.py rename to utils/test_compress_diff.py diff --git a/test_regex.py b/utils/test_regex.py similarity index 100% rename from test_regex.py rename to utils/test_regex.py diff --git a/test_revealercc.py b/utils/test_revealercc.py similarity index 100% rename from test_revealercc.py rename to utils/test_revealercc.py diff --git a/test_sklearn_vectorizers.py b/utils/test_sklearn_vectorizers.py similarity index 100% rename from test_sklearn_vectorizers.py rename to utils/test_sklearn_vectorizers.py diff --git a/testcopy.py b/utils/testcopy.py similarity index 100% rename from testcopy.py rename to utils/testcopy.py diff --git a/testkdbx.py b/utils/testkdbx.py similarity index 100% rename from testkdbx.py rename to utils/testkdbx.py diff --git a/testpartition.py b/utils/testpartition.py similarity index 100% rename from testpartition.py rename to utils/testpartition.py diff --git a/testpgpdump.py b/utils/testpgpdump.py similarity index 100% rename from testpgpdump.py rename to utils/testpgpdump.py diff --git a/testshuffle.py b/utils/testshuffle.py similarity index 100% rename from testshuffle.py rename to utils/testshuffle.py diff --git a/ticks.c b/utils/ticks.c similarity index 100% rename from ticks.c rename to utils/ticks.c