Comments (12)
@enty8080 yes, it works correct, thanks
from hatsploit.
from hatsploit.
and if you restart you will have this issue
Traceback (most recent call last):
File "/home/thecakeisfalse/.local/bin/hsf", line 8, in <module>
sys.exit(main())
File "/home/thecakeisfalse/.local/lib/python3.8/site-packages/hatsploit/hsf.py", line 169, in main
hsf.launch(script=hsf.root_path + 'startup.hsf')
File "/home/thecakeisfalse/.local/lib/python3.8/site-packages/hatsploit/hsf.py", line 93, in launch
self.console.script(script, do_shell)
File "/home/thecakeisfalse/.local/lib/python3.8/site-packages/hatsploit/core/base/console.py", line 162, in script
self.launch_shell()
File "/home/thecakeisfalse/.local/lib/python3.8/site-packages/hatsploit/core/base/console.py", line 115, in launch_shell
self.badges.print_empty(self.colors.CLEAR, end='')
File "/home/thecakeisfalse/.local/lib/python3.8/site-packages/hatsploit/core/cli/badges.py", line 46, in print_empty
self.io.print(message, start=start, end=end)
File "/home/thecakeisfalse/.local/lib/python3.8/site-packages/hatsploit/core/base/io.py", line 49, in print
with open(use_log, 'a') as f:
PermissionError: [Errno 13] Permission denied: '/file.txt'
from hatsploit.
ok
from hatsploit.
thx
from hatsploit.
@enty8080 when will you fix my issue?
from hatsploit.
it's fixed
from hatsploit.
@enty8080 no it isn't fixed
from hatsploit.
ok
HatSploit/hatsploit/commands/log.py
Line 44 in 98d6d22
from hatsploit.
(hsf)> log on /file.txt
[i] HatSploit log: on
[-] An error occurred: [Errno 13] Permission denied: '/file.txt'!
Traceback (most recent call last):
File "/home/thecakeisfalse/.local/lib/python3.8/site-packages/hatsploit/core/base/console.py", line 87, in launch_menu
self.execute.execute_command(commands, arguments)
File "/home/thecakeisfalse/.local/lib/python3.8/site-packages/hatsploit/core/base/execute.py", line 49, in execute_command
if not self.execute_core_command(commands, arguments):
File "/home/thecakeisfalse/.local/lib/python3.8/site-packages/hatsploit/core/base/execute.py", line 93, in execute_core_command
command.run(len(arguments), arguments)
File "/home/thecakeisfalse/.local/lib/python3.8/site-packages/hatsploit/lib/../commands/log.py", line 47, in run
self.print_information("HatSploit log: on")
File "/home/thecakeisfalse/.local/lib/python3.8/site-packages/hatsploit/core/cli/badges.py", line 64, in print_information
self.print_empty(self.I + message, start=start, end=end)
File "/home/thecakeisfalse/.local/lib/python3.8/site-packages/hatsploit/core/cli/badges.py", line 46, in print_empty
self.io.print(message, start=start, end=end)
File "/home/thecakeisfalse/.local/lib/python3.8/site-packages/hatsploit/core/base/io.py", line 49, in print
with open(use_log, 'a') as f:
PermissionError: [Errno 13] Permission denied: '/file.txt'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/thecakeisfalse/.local/bin/hsf", line 8, in <module>
sys.exit(main())
File "/home/thecakeisfalse/.local/lib/python3.8/site-packages/hatsploit/hsf.py", line 169, in main
hsf.launch(script=hsf.root_path + 'startup.hsf')
File "/home/thecakeisfalse/.local/lib/python3.8/site-packages/hatsploit/hsf.py", line 93, in launch
self.console.script(script, do_shell)
File "/home/thecakeisfalse/.local/lib/python3.8/site-packages/hatsploit/core/base/console.py", line 167, in script
self.launch_menu()
File "/home/thecakeisfalse/.local/lib/python3.8/site-packages/hatsploit/core/base/console.py", line 94, in launch_menu
self.badges.print_error("An error occurred: " + str(e) + "!")
File "/home/thecakeisfalse/.local/lib/python3.8/site-packages/hatsploit/core/cli/badges.py", line 58, in print_error
self.print_empty(self.E + message, start=start, end=end)
File "/home/thecakeisfalse/.local/lib/python3.8/site-packages/hatsploit/core/cli/badges.py", line 46, in print_empty
self.io.print(message, start=start, end=end)
File "/home/thecakeisfalse/.local/lib/python3.8/site-packages/hatsploit/core/base/io.py", line 49, in print
with open(use_log, 'a') as f:
PermissionError: [Errno 13] Permission denied: '/file.txt'
from hatsploit.
i reinstalled hsf twice before running
from hatsploit.
@thecakeisfalse I fixed this problem, can you accept that it works properly?
HatSploit/hatsploit/commands/log.py
Line 42 in fab80e2
from hatsploit.
Related Issues (20)
- [-] An error occurred: 'ColorScript' object has no attribute 'parse_input'! HOT 7
- Edit Command Bug HOT 2
- Good Work HOT 2
- Create release tarball for each new version on git HOT 10
- Idea for install hatvenom on system. HOT 1
- Add TAB completion for console HOT 6
- Bug HOT 2
- Netcat don't work right HOT 1
- ```script``` and ```execute_from_file``` HOT 1
- 'DB' object has no attribute 'bagdes'! HOT 3
- feature request HOT 2
- Pwny error HOT 3
- Great Project HOT 27
- offset substitution problem HOT 3
- Editing Module by Number
- Module `info` command produces a traceback HOT 2
- Unknown Python Error/Bug HOT 1
- Cant Upgrade or Install HOT 1
- error whene i try to run HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hatsploit.