Coder Social home page Coder Social logo

poldyaev / linuxscripts Goto Github PK

View Code? Open in Web Editor NEW

This project forked from deajan/linuxscripts

0.0 0.0 0.0 107 KB

Collection of useful scripts like mailing list cleanup, dd image auto splitter, hard disk bad sector repair script...

Home Page: http://www.netpower.fr

Shell 100.00%

linuxscripts's Introduction

linuxscripts

Collection of useful scripts / tools / files for Linux

Burp incexc rules

A set of regex rules and generic settings for Backup and Restore Program (BURP) from Graham Keeling (http://burp.grke.org)

emailCheck.sh

Low tech tool to cleanup mailing lists from unwanted emails before making a mass mailing. Performs various checks on a list of email adresses:

  1. Converts all addresses to lowercase
  2. Checks address' compliance against RC822
  3. Checks address' domain for known typos and corrects them (please help improve that list)
  4. Checks if email domain has MX records
  5. Checks if email user or domain is test / example / spam, rendering them ambiguous

Usage:

emailCheck.sh /path/to/email_list

Base script reads one email per line from input file. Script header contains instructions to read multicolumn CSV files. Warning: Using files comming from windows need prior conversion with dos2unix tool.

ddsplit.sh

Quick and dirty dd backup, useful to backup unknown file systems on fat32 / vfat devices. Performs disk backups via dd, compresses and splits into file chunks. Restores the splitted files to disk. Works especially well for unknown appliance filesystems (eg pfSense UFS which is not readable with standard Linux tools)

Usage:

ddsplit.sh --backup /dev/sdX /mnt/myFile 1G
ddsplit.sh --restore /mnt/ddsplit.1G.main.myFile.gz /dev/sdY

repairbadblocks.sh

Highly experimental script to force SATA disk firmwares to reallocate a pending sector / bad sector using dd or hdparm. Use at your very own risk. Might even send your data to an unknown parallel universe where cows rule the world ! You have been warned.

Usage:

repairbadblocks.sh /dev/sdX /tmp

ssh_jail.sh

Creates a full ssh jail with basic commands like cp, mv, etc

linuxscripts's People

Contributors

deajan avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.