hackingtool icon indicating copy to clipboard operation
hackingtool copied to clipboard

Enter Path (with Directory Name) >> /usr/local/sbin:/usr/local/bin:/usr/sbin: Traceback (most recent call last): File "/usr/share/hackingtool/hackingtool.py", line 90, in <module> with open(fpath, "w") as f: ^^^^^^^^^^^^^^^^

Open kingkali07 opened this issue 3 years ago • 16 comments

Enter Path (with Directory Name) >> /usr/local/sbin:/usr/local/bin:/usr/sbin: Traceback (most recent call last): File "/usr/share/hackingtool/hackingtool.py", line 90, in with open(fpath, "w") as f: ^^^^^^^^^^^^^^^^

kingkali07 avatar Jun 18 '23 15:06 kingkali07

Please give a detailed log of the error, Include more informations like how to reproduce this error, the platform you are on etc..

StarOne01 avatar Jul 11 '23 05:07 StarOne01

This prompt is looking for a single filepath like /home/hackingtool or like ~/hackingtool.

Duplicate of #372

cclauss avatar Jul 18 '23 06:07 cclauss

@kingkali07 Can this issue be closed or is there a documentation todo?

cclauss avatar Jul 22 '23 08:07 cclauss

issue not closed brother getting same error

kingkali07 avatar Jul 22 '23 18:07 kingkali07

Screenshot_2023-07-23_00_10_59 brothers please check this image this is the error

kingkali07 avatar Jul 22 '23 18:07 kingkali07

Please give a detailed log of the error, Include more informations like how to reproduce this error, the platform you are on etc.. Screenshot_2023-07-23_00_10_59

kingkali07 avatar Jul 22 '23 18:07 kingkali07

@kingkali07 Can this issue be closed or is there a documentation todo? Screenshot_2023-07-23_00_10_59

kingkali07 avatar Jul 22 '23 18:07 kingkali07

What filepath did you enter? The screens above make it look like an empty string was entered.

cclauss avatar Jul 22 '23 20:07 cclauss

I selected 1 manual after showing this message can you tell me what can I do to solve this problem

kingkali07 avatar Jul 23 '23 02:07 kingkali07

@kingkali07 In the next step (after choosing the option of manual), it is asking for the path, where the tools can be installed.

Looks lile you didn't gave any path as input

StarOne01 avatar Jul 23 '23 02:07 StarOne01

ok thankyou brother can you tell me how to gave a path as input please

kingkali07 avatar Jul 23 '23 05:07 kingkali07

@kingkali07 I suggest you to make it default by selecting 2

StarOne01 avatar Jul 23 '23 05:07 StarOne01

If you're selecting the Manual path option then provide a path like /home/$USER/downloads it could be any folder name in which all the tools will be stored.

Z4nzu avatar Jul 23 '23 05:07 Z4nzu

solved thankyou all

kingkali07 avatar Jul 23 '23 06:07 kingkali07

@Z4nzu $HOME/downloads might be better on Ubuntu and Debian where $USER is undefined...

% docker run --rm -it ubuntu:lunar bash # Jump into the current Ubuntu as user root

root@bd928f405d82:/# whoami
root
root@bd928f405d82:/# echo "/home/$USER/downloads"
/home//downloads  # $USER is undefined e.g. an empty string
root@bd928f405d82:/# echo "$HOME/downloads"
/root/downloads

docker run --rm --user ubuntu -it ubuntu:lunar bash # Jump into the current Ubuntu as user ubuntu

ubuntu@d9869bc6bbdd:/$ whoami
ubuntu
ubuntu@d9869bc6bbdd:/$ echo /home/$USER/downloads
/home//downloads
ubuntu@d9869bc6bbdd:/$ echo $HOME/downloads
/home/ubuntu/downloads

% docker run --rm -it debian:bookworm bash # Jump into the current Debian as user root

...

cclauss avatar Jul 23 '23 06:07 cclauss

@kingkali07 If this issue is solved then please close it and also #372.

cclauss avatar Jul 23 '23 06:07 cclauss