/self-modifying

self-modifying scripts, apps, demos, examples, etc. (mutating, polymorphic)

Primary LanguageShellMIT LicenseMIT

self-modifying

self-modifying scripts, apps, demos, examples, etc.

self-modifying-switcher.sh

grep 'STATE=' self-modify-switcher.sh && shasum -a 256 self-modify-switcher.sh && ls -afl self-modify-switcher.sh && ./self-modify-switcher.sh

//# STATE="GOOD"

15e9a363900ef92ee1012d939b3daa9020af1afdd603e90b77a92d27f160dc76 self-modify-switcher.sh

-rwxr-xr-x@ 1 israeltorres staff 1558 Apr 6 19:10 self-modify-switcher.sh

grep 'STATE=' self-modify-switcher.sh && shasum -a 256 self-modify-switcher.sh && ls -afl self-modify-switcher.sh && ./self-modify-switcher.sh

//# STATE="EVIL"

1a4d64485dca602f6aedee5abc4ab5ef6c2c9048fab3601522586e0805165da7 self-modify-switcher.sh

-rwxr-xr-x 1 israeltorres staff 998 Apr 6 16:56 self-modify-switcher.sh

grep 'STATE=' self-modify-switcher.sh && shasum -a 256 self-modify-switcher.sh && ls -afl self-modify-switcher.sh && ./self-modify-switcher.sh

//# STATE="GOOD"

b55205bd0d284308f641d8c5357ead20c8cdaa0cd2100991cefd055064f7e6fc self-modify-switcher.sh

-rwxr-xr-x 1 israeltorres staff 438 Apr 6 15:46 self-modify-switcher.sh

grep 'STATE=' self-modify-switcher.sh && shasum -a 256 self-modify-switcher.sh && ls -afl self-modify-switcher.sh && ./self-modify-switcher.sh

//# STATE="GOOD"

b55205bd0d284308f641d8c5357ead20c8cdaa0cd2100991cefd055064f7e6fc self-modify-switcher.sh

-rwxr-xr-x 1 israeltorres staff 438 Apr 6 15:46 self-modify-switcher.sh