EntySec / HatSploit

Modular penetration testing platform that enables you to write, test, and execute exploit code.
https://hatsploit.com
MIT License
283 stars 67 forks source link

Repeat Command Bug #46

Closed thecakeisfalse closed 3 years ago

thecakeisfalse commented 3 years ago
(hsf)> repeat 2 "exec ls"
[*] Executing system command: l

[-] Unrecognized system command: l!
[*] Executing system command: l

[-] Unrecognized system command: l!
(hsf)> 
(hsf)> repeat 2  "history --list"
Usage: history <option>

  -l, --list   List all history.
  -c, --clear  Clear all history.
  on/off       Turn history on/off.

Usage: history <option>

  -l, --list   List all history.
  -c, --clear  Clear all history.
  on/off       Turn history on/off.

(hsf)> 
(hsf)> sleep 10
Time: 10.007538080215454 seconds
(hsf)> repeat 1 "sleep 10"
Time: 1.001197338104248 seconds
(hsf)> 
enty8080 commented 3 years ago

Hello, @thecakeisfalse

I am glad you interested in my work and project. Thanks for reporting this bug, I'll fix it.

Regards, Ivan Nikolsky (@enty8080)

enty8080 commented 3 years ago

@thecakeisfalse

Bug fixed:

just command:

(hsf)> sessions -l
[!] No opened sessions available.
(hsf)>

with repeat:

(hsf)> repeat 2 "sessions -l"
[!] No opened sessions available.
[!] No opened sessions available.
(hsf)>