Open Azrael1980 opened 1 year ago
Did you find a solution to the problem?
Sorry?
On Sun, 8 Oct 2023 at 8:56 PM, behroozAlborzi @.***> wrote:
Did you find a solution to the problem?
— Reply to this email directly, view it on GitHub https://github.com/DanMcInerney/net-creds/issues/38#issuecomment-1752062112, or unsubscribe https://github.com/notifications/unsubscribe-auth/AR44JHMSCZ63JXJQVQQ6CL3X6LAZLAVCNFSM6AAAAAAQAL6F22VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONJSGA3DEMJRGI . You are receiving this because you are subscribed to this thread.Message ID: @.***>
┌──(kali㉿kali)-[~/net-creds] └─$ ./net-creds.py
Traceback (most recent call last): File "./net-creds.py", line 38, in
logging.basicConfig(filename='credentials.txt',level=logging.INFO)
File "/usr/lib/python2.7/logging/init.py", line 1554, in basicConfig
hdlr = FileHandler(filename, mode)
File "/usr/lib/python2.7/logging/init.py", line 920, in init
StreamHandler.init(self, self._open())
File "/usr/lib/python2.7/logging/init.py", line 950, in _open
stream = open(self.baseFilename, self.mode)
IOError: [Errno 13] Permission denied: '/home/kali/net-creds/credentials.txt'
┌──(kali㉿kali)-[~/net-creds] └─$ sudo python3 net-creds.py
[sudo] password for kali: File "/home/kali/net-creds/net-creds.py", line 952 print print_str ^^^^^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?