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

AttributeError: module 'pylnk' has no attribute 'create' #3

Closed
gizembozyell opened this issue Oct 12, 2023 · 1 comment
Closed

AttributeError: module 'pylnk' has no attribute 'create' #3

gizembozyell opened this issue Oct 12, 2023 · 1 comment

Comments

@gizembozyell
Copy link

Hi,

I get this error when I run it, how do I solve it?

Things I've tried:

-> pip install liblnk-python
-> pip install pylnk


┌──(kali㉿kali)-[~/…/machine/practice/vault/LNKUp]
└─$ python3 generate.py --host 192.168.159.172 --type ntlm --output out.lnk

==================================================

/$$ /$$ /$$ /$$ /$$ /$$ /$$

| $$ | $$$ | $$| $$ /$$/| $$ | $$

| $$ | $$$$| $$| $$ /$$/ | $$ | $$ /$$$$$$

| $$ | $$ $$ $$| $$$$$/ | $$ | $$ /$$__ $$

| $$ | $$ $$$$| $$ $$ | $$ | $$| $$ \ $$

| $$ | $$\ $$$| $$\ $$ | $$ | $$| $$ | $$

| $$$$$$$$| $$ \ $$| $$ \ $$| $$$$$$/| $$$$$$$/

|/|/ __/|/ __/ __/ | $$____/

| $$

| $$

|__/

==================================================

Traceback (most recent call last):
File "/home/kali/Desktop/machine/practice/vault/LNKUp/generate.py", line 169, in
main(args=cmd_line_args)
File "/home/kali/Desktop/machine/practice/vault/LNKUp/generate.py", line 120, in main
link = for_file(r'C:\Windows\System32\cmd.exe', filepath)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/kali/Desktop/machine/practice/vault/LNKUp/generate.py", line 140, in for_file
lnk = pylnk.create(lnk_name)
^^^^^^^^^^^^
AttributeError: module 'pylnk' has no attribute 'create'


@Plazmaz
Copy link
Owner

Plazmaz commented Oct 17, 2023

Dupe of #2.

@Plazmaz Plazmaz closed this as completed Oct 17, 2023
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