Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid syntax in unipacker.py Line 73 #12

Closed
Bhuvanamitra opened this issue Mar 13, 2019 · 4 comments
Closed

Invalid syntax in unipacker.py Line 73 #12

Bhuvanamitra opened this issue Mar 13, 2019 · 4 comments

Comments

@Bhuvanamitra
Copy link

When I run unipacker.py, I get Invalid Syntax Error in this line.

Line 73: ("End of unpacking stub:", f"0x{endaddr:02x}" if endaddr != sys.maxsize else "unknown"),

@Masrepus
Copy link
Member

Are you using Python 3.6 or greater? Looks like your Python version doesn't support f-strings

@Bhuvanamitra
Copy link
Author

I am using Python 2.7
What can I do to fix the problem? (preferrably not altering the python version)

@Masrepus
Copy link
Member

Hm that's probably quite a bit of work, as we didn't develop unipacker with Python 2 support in mind

Masrepus added a commit that referenced this issue Mar 18, 2019
@Masrepus
Copy link
Member

Unipacker now has a Dockerfile, so it can be run without having to touch your existing python installation. I hope this helps you

@Bhuvanamitra Bhuvanamitra changed the title Invalid Syntax in unipacker.py Line 73 Showing only New Sample option Mar 22, 2019
@Bhuvanamitra Bhuvanamitra changed the title Showing only New Sample option Invalid syntax in unipacker.py Line 73 Mar 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants