Skip to content

syntax error ; os.path.exists ^ invalid syntax line 46 #302

@jetson02

Description

@jetson02

Please provide the following details.

Host System

_(base) ┌──(root💀debian)-[~/datasploit]
└─# cat /etc/os-release
PRETTY_NAME="Kali GNU/Linux Rolling"
NAME="Kali GNU/Linux"
ID=kali
VERSION="2021.1"

Python 3.8.5_

Error Description

(base) ┌──(root💀debian)-[~/datasploit]
└─# python datasploit.py
File "datasploit.py", line 46
print os.path.exists(config_file_path)
^
SyntaxError: invalid syntax

If you cloned Datasploit, also provide the output of git log -n 1 --pretty=format:"%B".

(base) ┌──(root💀debian)-[~/datasploit]
└─# git log -n 1 --pretty=format:"%B"
Enabling text report output

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions