EntySec/HatSploit

Repeat Command Bug

thecakeisfalse opened this issue · 2 comments

(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)> 

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)

@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)>