Commit graph

113 commits

Author SHA1 Message Date
zawz
a02edd6c2c fix quote minify not escaping redirect operators 2021-04-16 16:37:59 +02:00
zawz
1f75f18fba add string parse minifying 2021-04-16 16:36:02 +02:00
zawz
af5d276ff0 update doc for 1.1.0 2021-04-02 19:09:18 +02:00
zawz
9608f2556b add $RANDOM debashifying to readme 2021-03-26 16:10:42 +01:00
zawz
a1b2d74940 add --no-extend option + rename --help-lxsh-commands to --help-extend-fcts 2021-03-26 15:59:22 +01:00
zawz
baadd1d927 debashify $RANDOM + _lxsh_random extension 2021-03-26 15:45:00 +01:00
zawz
6828dd7bae restructure internal shellcode structure 2021-03-26 14:58:17 +01:00
zawz
588aae09e9 implement lxsh commands + reorder processing order 2021-03-26 13:41:04 +01:00
zawz
ad78740636 minify quotes incorrectly removes quotes from ~ 2021-03-26 13:18:33 +01:00
zawz
13c0d79bad rename minimize to minify + prepare lxsh commands + add reserved variables 2021-03-20 11:09:02 +01:00
zawz
75972d166b fix segfault when no argument 2021-03-18 15:56:01 +01:00
zawz
472fd5306c fix -- not working correctly 2021-03-18 15:51:52 +01:00
zawwz
e2e2300337 implement live parse+execution 2021-03-18 15:35:33 +01:00
zawwz
800ee2b651 implement quote minimizing as --minimize-quote option instead of -m 2021-03-11 15:02:54 +01:00
zawwz
8b701328bc implement quote minimizing 2021-03-11 14:54:15 +01:00
zawwz
f0ed4e2602 implement missing parsing \ on newlines 2021-03-11 14:52:38 +01:00
zawz
a4d87c8165 error on escaped backticks 2021-03-05 16:25:43 +01:00
zawz
0c2f80ea92 set version to 1.0.0 + update doc 2021-02-28 15:30:44 +01:00
zawz
39c8f7fa58 fix debashified [*] on maps having extra space 2021-02-28 15:11:19 +01:00
zawz
f5e5d32eca implement bash specific ${!var} 2021-02-28 14:15:36 +01:00
zawz
06eac33b0a fix echo debashify 2021-02-26 17:06:15 +01:00
zawz
e61a2e9c85 implement debashify on echo 2021-02-26 16:38:35 +01:00
zawz
1ffb2f8b2e fix segfaults and readonly debashify 2021-02-26 16:01:20 +01:00
zawz
931590a334 implement associative array debashifying + shellcode building process 2021-02-26 15:18:17 +01:00
zawz
fd4c1b0d05 major changes:
structure: remove manipulation class integrate into variable class
debashify: implement debashify on indexed arrays
parsing: can now parse manipulations in arithmetics
2021-02-17 17:00:12 +01:00
zawz
65083d09b4 fix parse on cmdvar not stopping at | 2021-02-16 15:07:46 +01:00
zawz
28e8503b86 fix special variables in arithmetics 2021-02-16 15:07:09 +01:00
zawz
3b10ce9e52 add missing parsing: parse and missing operatiors in arithmetics 2021-02-12 14:45:47 +01:00
zawz
652e238c64 fix segfault on resolve in specific cases 2021-02-12 14:45:02 +01:00
zawz
f4907b4e4d fix missing indent on elif and case generation bug 2021-02-12 14:43:46 +01:00
zawz
2afd8b20c6 add -J option 2021-02-12 14:43:08 +01:00
zawz
6c3db57dde incomplete empty variable fix 2021-02-12 10:33:51 +01:00
zawz
8c89f25c21 fix empty variables deleted on --remove-unused 2021-02-12 10:21:57 +01:00
zawz
d9b42cd7a2 include 'getopts' as cmdvar 2021-02-12 10:19:09 +01:00
zawz
8e79e10e60 remove non-generation of redirects in empty commands 2021-02-10 13:55:58 +01:00
zawz
7d26587dd2 implement var_assign structure to cmdvar + added internal json structure generator 2021-02-05 14:42:46 +01:00
zawz
9342464590 internal: modify var_assign structure 2021-02-03 15:05:48 +01:00
zawz
53d8ce01ce implement missing operator replacements in debashify [[ 2021-02-03 15:01:47 +01:00
zawz
b56e7d09f9 fix shebang not resolved correctly on #!/bin/env 2021-02-03 14:59:39 +01:00
zawz
68f604de8e fix memory leak on variable set 2021-01-29 12:04:51 +01:00
zawwz
5968068989 replace [[ debashify 'echo|grep' into 'expr' 2021-01-20 16:59:27 +01:00
zawwz
c12ec601f1 implement [[ ]] debashify 2021-01-20 16:31:31 +01:00
zawwz
9c2f3c91f9 implement bash specific var=() parsing 2021-01-20 12:03:32 +01:00
zawwz
7d54b67b37 update doc 2021-01-20 11:50:24 +01:00
zawwz
2ffe4ddf2f implement internal variable structure 2021-01-20 11:49:32 +01:00
zawwz
7114a39fe3 implement arithmetic parsing and processing 2021-01-15 16:34:47 +01:00
zawwz
1b0c97f5bb implement debashify on <<< herestring 2021-01-08 15:57:42 +01:00
zawwz
142a91e68a restructure struc functions 2021-01-08 15:03:25 +01:00
zawwz
6f35028e84 fix variable processing broken on debashified process substitution 2021-01-08 12:02:04 +01:00
zawwz
51b2648c94 Unify shebang on debashify 2021-01-08 11:45:28 +01:00