• Stars
    star
    264
  • Rank 149,684 (Top 4 %)
  • Language
    Shell
  • License
    GNU General Publi...
  • Created over 5 years ago
  • Updated over 4 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Wipe, reinstall or restore your system from running GNU/Linux distribution. Via SSH, without rebooting.

reload.sh


Don't do it...

Please don't do it on live systems (e.g. production) or on your private computer where you stored critical data.

This recipe show you how to install fresh system where other system exist and running. It's really cool and amazing but very risky!

If you want to go into the chaos of monkey read on.

Why I created it?

I like experiments because I love to know how things work. They allow me to understand and show me some of the more tricky concepts.

Long time ago, this way saved my life but it was crazy.

How it works?

A beginner's guide of reload.sh [PL]

Set your archive with system backup to restore:

_build="/mnt/system-backup.tgz"

Set path to temporary system (optional):

_base="/mnt/minimal-base"

If you do not set this parameter, the temporary system will be downloaded automatically.

Set path to main system disk:

_disk="/dev/vda"

Run reload.sh:

./bin/reload.sh --base "$_base" --build "$_build" --disk "$_disk"

Contributing

Before adding a pull request, please see the contributing guidelines. All suggestions/PR are welcome!

See also

Credits

twitter/trimstray

trimstray

License

GPLv3 : http://www.gnu.org/licenses/

More Repositories

1

the-book-of-secret-knowledge

A collection of inspiring lists, manuals, cheatsheets, blogs, hacks, one-liners, cli/web tools and more.
126,393
star
2

nginx-admins-handbook

How to improve NGINX performance, security, and other important things.
Shell
13,342
star
3

test-your-sysadmin-skills

A collection of Linux Sysadmin Test Questions and Answers. Test your knowledge and skills in different fields with these Q/A.
10,216
star
4

the-practical-linux-hardening-guide

This guide details creating a secure Linux production system. OpenSCAP (C2S/CIS, STIG).
9,650
star
5

htrace.sh

My simple Swiss Army knife for http/https troubleshooting and profiling.
Shell
3,706
star
6

sandmap

Nmap on steroids. Simple CLI with the ability to run pure Nmap engine, 31 modules with 459 scan profiles.
Shell
1,530
star
7

iptables-essentials

Iptables Essentials: Common Firewall Rules and Commands.
1,416
star
8

linux-hardening-checklist

Simple checklist to help you deploying the most important areas of the GNU/Linux production systems - work in progress.
1,251
star
9

multitor

Create multiple TOR instances with a load-balancing.
Shell
991
star
10

otseca

Open source security auditing tool to search and dump system configuration. It allows you to generate reports in HTML or RAW-HTML formats.
Shell
471
star
11

technical-whitepapers

Collection of IT whitepapers, presentations, pdfs; hacking, web app security, db, reverse engineering and more; EN/PL.
460
star
12

mkchain

Open source tool to help you build a valid SSL certificate chain.
Shell
356
star
13

massh-enum

OpenSSH 2.3 up to 7.4 Mass Username Enumeration (CVE-2018-15473).
Shell
143
star
14

trimstray.github.io

Personal blog [PL/EN].
HTML
30
star
15

trimstray

Something about me.
14
star