mateoferon
f74c97fc7f
feat(bash): support bash time syntax
2022-12-09 16:57:20 +01:00
zawz
f93447e7dc
fix(parse): fix parse of sequential braces
2022-04-08 15:38:11 +02:00
zawz
0d56e6099d
chore: increment version
2021-11-21 11:31:51 +01:00
zawwz
fab144947a
internal: add obj recursive copy
2021-11-05 15:57:15 +01:00
zawwz
39cc1da707
fix parsing of # in middle of arg
2021-11-05 10:52:48 +01:00
zawwz
0e9aa3b023
add map options
2021-11-03 14:37:49 +01:00
zawwz
92d4caf5c0
code cleanup
2021-11-03 11:41:42 +01:00
zawwz
89160324cd
bump version to 1.4
2021-10-29 13:29:24 +02:00
zawwz
0b46581b22
extend minify quotes to var assigns
2021-10-28 13:33:06 +02:00
Mateo Feron
19fb7e8eac
add IFS to reserved variables
2021-10-19 12:00:11 +02:00
Mateo Feron
abce171e94
extend minify: minify subshells to backticks
2021-10-14 15:39:52 +02:00
zawz
516fbd5a01
increment version number
2021-10-08 18:21:44 +02:00
zawz
04ef171515
optimize minify operations
2021-08-19 17:48:46 +02:00
zawz
4ff253a364
implement small optimization on arg parse
2021-08-14 13:09:45 +02:00
zawz
536168eee4
fix for in empty value
2021-08-11 11:56:44 +02:00
zawwz
20e47ab620
debashify manipulation substring
2021-07-27 20:44:57 +02:00
zawwz
22ab42da08
debashify manipulation replace
2021-07-27 18:03:37 +02:00
zawwz
d90d07635d
bump version to 1.3
2021-07-24 19:36:22 +02:00
zawwz
8c63b9a35e
minify single-block braces and subshells
2021-07-24 08:35:55 +02:00
zawwz
4c984bdc39
minify empty variable manipulation
2021-07-24 08:26:24 +02:00
zawz
982e86cc87
optimize fct minify by counting call occurences
2021-06-30 15:53:38 +02:00
zawz
3af1fc57fc
fix fct minify encountering reserved words
2021-06-29 15:53:25 +02:00
zawz
767302dd56
fix processing not being done on heredocuments
2021-06-29 15:35:13 +02:00
zawz
e7d868de9e
implement separated variables on assigns and cmdvars
2021-06-29 15:17:59 +02:00
zawz
38845e8652
multiple parsing fixes
...
- comment in pipeline throwing an error
- heredocument tries to parse quotes
- split pipeline/condlist combined with heredocuments don't parse correctly
2021-06-29 14:09:11 +02:00
zawz
0e6fc1262d
deduplicate parsing constant
2021-06-23 16:54:21 +02:00
zawz
3dc60ff7e3
fix non-quoted resolution of link commands
2021-06-23 16:47:30 +02:00
zawz
f851650c15
increment bugfix version
2021-06-22 10:02:36 +02:00
zawz
56ed26ed96
fix parsing errors on variables in arithmetics
2021-06-22 10:01:29 +02:00
zawz
8b6a576713
improve echo debashifying
2021-05-28 16:31:17 +02:00
zawz
05723fe994
add color to error printing + reorganise options
2021-05-25 16:12:02 +02:00
zawz
6b8f7241bb
fix memory leak
2021-05-25 11:54:38 +02:00
zawz
15ac04f505
implement delayed heredocument parsing
2021-05-21 16:36:24 +02:00
zawz
064c37b4ee
fix error messages on bash 'function'
2021-05-19 16:56:46 +02:00
zawz
7379eaf180
internal rework: implement parsing context
2021-05-19 16:44:57 +02:00
mateoferon
bc215fc994
code cleanup
2021-05-04 09:32:30 +02:00
zawz
1f75f18fba
add string parse minifying
2021-04-16 16:36:02 +02:00
zawz
a1b2d74940
add --no-extend option + rename --help-lxsh-commands to --help-extend-fcts
2021-03-26 15:59:22 +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
13c0d79bad
rename minimize to minify + prepare lxsh commands + add reserved variables
2021-03-20 11:09:02 +01:00
zawwz
e2e2300337
implement live parse+execution
2021-03-18 15:35:33 +01:00
zawwz
8b701328bc
implement quote minimizing
2021-03-11 14:54:15 +01:00
zawz
0c2f80ea92
set version to 1.0.0 + update doc
2021-02-28 15:30:44 +01:00
zawz
06eac33b0a
fix echo debashify
2021-02-26 17:06:15 +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
7d26587dd2
implement var_assign structure to cmdvar + added internal json structure generator
2021-02-05 14:42:46 +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