Giter Club home page Giter Club logo

Comments (9)

dirkjanm avatar dirkjanm commented on July 1, 2024

it needs python 3.7 or 3.8 minimum, looks like you use python 2

from cve-2020-1472.

testernoobkali avatar testernoobkali commented on July 1, 2024

hey thanks for reply i did use python3

root@kali:~/AD-cve/CVE-2020-1472# python3 cve-2020-1472-exploit.py ba.local 192.168.75.131
File "cve-2020-1472-exploit.py", line 52
fail(f'Unexpected error code from DC: {ex.get_error_code()}.')
^
SyntaxError: invalid syntax

i am running 3.5 is that not good enough ?
root@kali:~/AD-cve/CVE-2020-1472# python3 -V
Python 3.5.3+

python3 -V
Python 3.5.3+

from cve-2020-1472.

dirkjanm avatar dirkjanm commented on July 1, 2024

No, it uses format string syntax which was added in 3.6

from cve-2020-1472.

andreluna avatar andreluna commented on July 1, 2024

Try remove suffix "ba.local".
If machine name is ad01.ba.local
Just:
python cve-2020-1472-exploit.py ad01 192.168.75.131

from cve-2020-1472.

testernoobkali avatar testernoobkali commented on July 1, 2024

dude the same issue :( i am running it against a server2008 r2 in the same local Lan as well in VM

oot@kali:/AD-cve/CVE-2020-1472# python3 cve-2020-1472-exploit.py server3 192.168.75.131
File "cve-2020-1472-exploit.py", line 52
fail(f'Unexpected error code from DC: {ex.get_error_code()}.')
^
SyntaxError: invalid syntax
root@kali:
/AD-cve/CVE-2020-1472#

from cve-2020-1472.

testernoobkali avatar testernoobkali commented on July 1, 2024

root@kali:/AD-cve/CVE-2020-1472# python3 cve-2020-1472-exploit.py server3 192.168.75.131
File "cve-2020-1472-exploit.py", line 52
fail(f'Unexpected error code from DC: {ex.get_error_code()}.')
^
SyntaxError: invalid syntax
root@kali:
/AD-cve/CVE-2020-1472#

from cve-2020-1472.

testernoobkali avatar testernoobkali commented on July 1, 2024

python

from cve-2020-1472.

testernoobkali avatar testernoobkali commented on July 1, 2024

any idea?

from cve-2020-1472.

dirkjanm avatar dirkjanm commented on July 1, 2024

You're still using python 3.5, I already wrote before it doesn't work on 3.5.

from cve-2020-1472.

Related Issues (10)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.