1919使用 ` python Jiyu_udp_attack -h ` 来获取帮助信息:
2020
2121```
22- usage: Jiyu_udp_attack [-h] -f ip [-fp port] -t ip [-tp port] [-i ip_id]
23- (-m msg | -w url | -c command |
24- -s [timeout [message ...]] |
25- -r [timeout [message ...]] | -n name name_id |
26- --hex hex_data)
22+ usage: Jiyu_udp_attack [-h] [-f <ip>] [-fp <port>] -t <ip> [-tp <port>]
23+ [-i <ip_id>] (-m <msg> | -w <url> | -c <command> |
24+ -e <program> [<args> ...] |
25+ -s [<timeout> [<message> ...]] |
26+ -r [<timeout> [<message> ...]] | -n <name> <name_id> |
27+ --hex <hex_data>)
2728
2829Jiyu Attack Script
2930
@@ -33,30 +34,33 @@ options:
3334Network Configuration:
3435 Specify the network configuration for the attack.
3536
36- -f, --teacher-ip ip Teacher's IP address
37- -fp, --teacher-port port
37+ -f, --teacher-ip <ip>
38+ Teacher's IP address
39+ -fp, --teacher-port <port>
3840 Teacher's port (default to random port)
39- -t, --target ip Target IP address
40- -tp, --target-port port
41+ -t, --target <ip> Target IP address
42+ -tp, --target-port < port>
4143 Port to send packets to (default: 4705)
42- -i, --ip-id ip_id IP ID for the packet (default: random ID)
44+ -i, --ip-id < ip_id> IP ID for the packet (default: random ID)
4345
4446Attack Action:
4547 Specify the action to perform on the target machine.
4648
47- -m, --message msg Message to send
48- -w, --website url Website URL to ask to open
49- -c, --command command
49+ -m, --message < msg> Message to send
50+ -w, --website < url> Website URL to ask to open
51+ -c, --command < command>
5052 Command to execute on the target
51- -s, --shutdown [timeout [message ...]]
53+ -e, --execute, --minimize-execute, --maximize-execute <program> [<args> ...]
54+ Execute a program with arguments on the target machine
55+ -s, --shutdown [<timeout> [<message> ...]]
5256 Shutdown the target machine, optionally with a timeout
5357 and message
54- -r, --reboot [timeout [ message ...]]
58+ -r, --reboot [< timeout> [< message> ...]]
5559 Reboot the target machine, optionally with a timeout
5660 and message
57- -n, --rename name name_id
61+ -n, --rename < name> < name_id>
5862 Rename the target machine
59- --hex hex_data Hexadecimal string to send as a raw packet
63+ --hex < hex_data> Hexadecimal string to send as a raw packet
6064
6165Github Repositories: https://github.com/weilycoder/Jiyu_udp_attack/tree/main/
6266```
0 commit comments