All Projects → opencoff → Useful Scripts

opencoff / Useful Scripts

Licence: gpl-2.0
Useful scripts I wrote to make my life easier

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Useful Scripts

Ctf Notes
Everything needed for doing CTFs
Stars: ✭ 304 (+5980%)
Mutual labels:  python-script
Labeless
Labeless is a multipurpose IDA Pro plugin system for labels/comments synchronization with a debugger backend, with complex memory dumping and interactive Python scripting capabilities.
Stars: ✭ 378 (+7460%)
Mutual labels:  python-script
You Are Pythonista
汇聚【Python应用】【Python实训】【Python技术分享】等等
Stars: ✭ 588 (+11660%)
Mutual labels:  python-script
Shodansploit
🔎 shodansploit > v1.3.0
Stars: ✭ 342 (+6740%)
Mutual labels:  python-script
Comic Dl
Comic-dl is a command line tool to download manga and comics from various comic and manga sites. Supported sites : readcomiconline.to, mangafox.me, comic naver and many more.
Stars: ✭ 365 (+7200%)
Mutual labels:  python-script
Link Lock
Password-protect URLs using AES in the browser; create hidden bookmarks without a browser extension
Stars: ✭ 418 (+8260%)
Mutual labels:  aes-encryption
Ipdrone
Track Location With Live Address And Accuracy In Termux
Stars: ✭ 286 (+5620%)
Mutual labels:  python-script
Learn python3 spider
python爬虫教程系列、从0到1学习python爬虫,包括浏览器抓包,手机APP抓包,如 fiddler、mitmproxy,各种爬虫涉及的模块的使用,如:requests、beautifulSoup、selenium、appium、scrapy等,以及IP代理,验证码识别,Mysql,MongoDB数据库的python使用,多线程多进程爬虫的使用,css 爬虫加密逆向破解,JS爬虫逆向,分布式爬虫,爬虫项目实战实例等
Stars: ✭ 8,525 (+170400%)
Mutual labels:  python-script
W5
Security Orchestration, Automation and Response (SOAR) Platform. 安全编排与自动化响应平台,无需编写代码的安全自动化,使用 SOAR 可以让团队工作更加高效
Stars: ✭ 367 (+7240%)
Mutual labels:  python-script
Multiscanner
Modular file scanning/analysis framework
Stars: ✭ 494 (+9780%)
Mutual labels:  python-script
Gonnacry
A Linux Ransomware
Stars: ✭ 341 (+6720%)
Mutual labels:  aes-encryption
Dtags
Directory Tags for Lazy Programmers
Stars: ✭ 351 (+6920%)
Mutual labels:  python-script
Aes Killer
Burp plugin to decrypt AES Encrypted traffic of mobile apps on the fly
Stars: ✭ 446 (+8820%)
Mutual labels:  aes-encryption
Code Sleep Python
Awesome Projects in Python - Machine Learning Applications, Games, Desktop Applications all in Python 🐍
Stars: ✭ 306 (+6020%)
Mutual labels:  python-script
Homer
Homer, a text analyser in Python, can help make your text more clear, simple and useful for your readers.
Stars: ✭ 607 (+12040%)
Mutual labels:  python-script
Linuxbashshellscriptforops
Linux Bash Shell Script and Python Script For Ops and Devops
Stars: ✭ 298 (+5860%)
Mutual labels:  python-script
Kengine
Entity-Component-System (ECS) with a focus on ease-of-use, runtime extensibility and compile-time type safety and clarity.
Stars: ✭ 417 (+8240%)
Mutual labels:  python-script
Instagram Profilecrawl
📝 quickly crawl the information (e.g. followers, tags etc...) of an instagram profile.
Stars: ✭ 816 (+16220%)
Mutual labels:  python-script
Aescrypt Android
Simple API to perform AES encryption on Android. This is the Android counterpart to the AESCrypt library Ruby and Obj-C (with the same weak security defaults :( ) created by Gurpartap Singh. https://github.com/Gurpartap/aescrypt
Stars: ✭ 615 (+12200%)
Mutual labels:  aes-encryption
Secure Ls
🔒 Secure localStorage data with high level of encryption and data compression
Stars: ✭ 486 (+9620%)
Mutual labels:  aes-encryption

Sudhi's Script Hacks

These are some of the scripts I wrote to make my life interesting. I contribute it to the world so that others may enjoy.

Most of the scripts come with some sort of help message (--help). If not, the use of the script ought to be evident.

License

Most of the scripts are GPLv2. Some are with a more liberal (BSD) license. Don't ask - its just my preference.

Brief Blurb about Each

mkgetopt

This subdirectory has a standalone Python tool to generate command line parsing code for use in C/C++ programs. It uses getopt_long() and removes tedium around command line processing. It comes with a manpage and examples.

Scripts

Many of these scripts have builtin help (--help); they are identified with a suffix of *. ::

abspath            when you need command line access to os.path.abspath()
isabs              when you need command line access to os.path.isabs()
realpath           when you need command line access to os.path.realpath()
aes-test.sh        Self-test for aes.py (tests various sizes)
mk-raw-vmware.py   The name says it all; make a raw disk with no holes
randmac            Print a semi-random mac address
rename             Rename files based on regex. Yes, its Perl.
rotatedir          Rotate a directory with newest name ending in .0 suffix
xdump              I forget how to use hexdump. Hence this short alias

server-backup      Script I use to backup remote machines via SSH. Customize it for
                   your use case.

aes.py          *  AES encrypt a file in CTR mode with random salt
cert-tool.py    *  Tool to turn you into a light weight X.509 CA
comic2pdf       *  If you have bunch of CBRs and want PDFs instead
deadlinks       *  Show me symlinks that point to non existent files
dos2unix.py     *  Turn CRLF into LF
finddup         *  If you have identical files strewn around in your file system
hexlify         *  hexlificate your stdin

pardu.py        *  Parallel, pure-python version of du. Possibly
                   faster than the native version on your machine. 
                   alias du=pardu.py is the recommended way.

kill.py         *  Cross platform, interactive way to kill processes by name/PID
                   alias kill=kill.py  works very nicely.
                   'q' in the prompt cleanly exits the tool.

rm.py           *  Cross platform, interactive way to remove files
                   alias rm=rm.py  saves you from unwanted pain.
                   'q' in the prompt cleanly exits the tool.

make-tunnel.py  *  Create IPSec tunnels with preshared keys (site-to-site VPN). Tested on
                   Linux, easy to adapt to other OSes.

pingsubnet.py   *  Ping multiple addresses in parallel for a subnet and get results back;
randpass        *  Experiments in generating random passwords
rsync-backup.py *  Backup using rsync and hardlinks
tolower         *  Play with file names and their case. Try 'tolower --help'

ovpn-tool.py

So, you want to run your own OpenVPN server. And then you decide to get adventerous and offer it to your friends and family. Now, you have to worry about authentication and mobile devices. This utility is designed to make your life easy to manage a small OpenVPN server and generate client certs, client configs etc. The generated .ovpn file is also usable on iOS and Android.

Comes with builtin help ovpn-tool.py --help.

OS X Tools

These are some OS X specific tools that make your life interesting.::

mkdmg.sh          Make OS X compressed disk image from a source directory
gone.sh           Nuke your OS X root/boot disk. Use with care :-)

The next set of utilities work with launchd(8) to make their behavior persistent across boots. You can run them in one-shot mode on the command line or use the install option to relegate it to launchd control.::

osx-ipfw.sh       Enable ipfw(8) with a default set of secure rules
osx-noatime.sh    Enable noatime mounts on all disks
osx-ramfs.sh      Put /tmp and /var/run under a RAMFS
osx-randmac.sh    Randomize your MAC address every day. Designed to auto-detect your wifi
                  interface. Run it without any args to see usage.
osx-tuntap.sh     Make your tun-tap driver persistent.

The ramfs.sh and randmac.sh files have been tested to work on OS X Yosemite.

Linux Specific Tools

::

find-usb-disk     List USB disks - for those of us who dislike systemd
linktest.py       Test link status of ethernet interface(s)

kern-build

If you are in the embedded systems world - building and using custom linux kernels, then you'll love
this utility. It allows you to build multiple kernel images from a single source directory. It
took life during the reign of 2.6.12. I've kept it more or less up-to-date through modern 3.x
kernels. Haven't tried it on 4.x yet.

I used it regularly to build kernels for UML, x86 and mips. If you add other Arch's and their
aliases, send me patches.

openbsd-randmac.sh 
------------------
This script is incomplete - it generates a random mac address and sets it on the interface. But, one
needs a place from whence to call this. Haven't figured out exactly where to do that. Patches
welcome.

disablecaps.inf
---------------
A long time ago, I used to do a lot of work on Windows - especially writing ARM instruction set
emulators. And, I wanted a way to disable CapsLock permanently. I figured out this hack to make it
happen. I haven't tested in on a more recent Windows 7/8/10. If you find this useful, drop me a
note.

--
Sudhi
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].