You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: assets/commands/7za.md
+11-2Lines changed: 11 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -63,19 +63,28 @@ standalone file archiver from the 7-Zip family
63
63
> Compression level (0-9)
64
64
65
65
**-t**_type_
66
-
> Archive type (7z, zip, gzip, bzip2, tar)
66
+
> Archive type (7z, zip, gzip, bzip2, xz, tar)
67
67
68
68
**-r**
69
69
> Recurse subdirectories
70
70
71
71
**-y**
72
72
> Assume yes to queries
73
73
74
+
**-si**
75
+
> Read from stdin
76
+
77
+
**-so**
78
+
> Write to stdout
79
+
80
+
**-mhe=on**
81
+
> Encrypt archive headers (7z format)
82
+
74
83
# DESCRIPTION
75
84
76
85
**7za** is the standalone version of the 7-Zip command-line tool. Unlike **7z** which may use external plugins, 7za includes all codecs in a single executable.
77
86
78
-
7za supports fewer formats than the full 7z but is more portable as a single binary. It handles 7z, ZIP, GZIP, BZIP2, TAR, and XZ formats.
87
+
7za supports fewer formats than the full 7z but is more portable as a single binary. It handles 7z, ZIP, GZIP, BZIP2, XZ, TAR, and CAB formats.
79
88
80
89
The command syntax is identical to **7z**. For scripts that only need common formats, 7za is often preferred for its simplicity and reliability.
@@ -29,16 +33,19 @@ This tool is useful for identifying services that may benefit from AppArmor conf
29
33
# PARAMETERS
30
34
31
35
**--paranoid**
32
-
> Examines all processes from the /proc filesystem that have active TCP or UDP ports without AppArmor confinement
36
+
> Examines all processes from the /proc filesystem that have active TCP or UDP ports without AppArmor confinement. Equivalent to --show=all.
37
+
38
+
**--show=**_MODE_
39
+
> Determines the set of processes displayed: all (all processes), network (processes with any sockets), server (processes with listening sockets), client (processes with non-listening sockets).
33
40
34
41
**--with-ss**
35
-
> Uses the ss(8) utility to identify network socket listeners (default)
42
+
> Uses the ss(8) utility to identify network socket listeners (default).
36
43
37
44
**--with-netstat**
38
-
> Uses the netstat(8) command for network socket discovery instead of ss
45
+
> Uses the netstat(8) command for network socket discovery instead of ss. Used as fallback when ss is not available.
@@ -37,8 +41,8 @@ This capability is useful in penetration testing for setting up resource-based c
37
41
**-computer-pass**_password_
38
42
> Password for the computer account
39
43
40
-
**-method**_SAMR|LDAP_
41
-
> Protocol to use for adding the computer
44
+
**-method**_SAMR|LDAPS_
45
+
> Protocol to use for adding the computer (default: SAMR)
42
46
43
47
**-hashes**_LMHASH:NTHASH_
44
48
> Authenticate using NT hash
@@ -49,6 +53,9 @@ This capability is useful in penetration testing for setting up resource-based c
49
53
**-no-pass**
50
54
> Don't prompt for password
51
55
56
+
**-dc-host**_hostname_
57
+
> Hostname of the domain controller
58
+
52
59
# CAVEATS
53
60
54
61
For authorized security testing only. The default ms-DS-MachineAccountQuota of 10 can be modified or set to 0 by administrators. Computer accounts created this way are visible to domain administrators.
@@ -59,4 +66,4 @@ Part of the Impacket suite maintained by SecureAuth, this tool gained prominence
0 commit comments