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

Fixed concat problem in npp_control #49

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Fixed concat problem in npp_control #49

wants to merge 1 commit into from

Conversation

enty8080
Copy link

fixed:

enty8080@Ivans-Air MS17-010-master % python3 npp_control.py 192.168.2.114
Traceback (most recent call last):
  File "/Users/enty8080/Desktop/MS17-010-master/npp_control.py", line 44, in <module>
    sessionSetup['Data'] = pack('<H', 0x1604) + '\x00'*20
TypeError: can't concat str to bytes
enty8080@Ivans-Air MS17-010-master % python3 npp_control.py 192.168.2.114
Traceback (most recent call last):
  File "/Users/enty8080/Desktop/MS17-010-master/npp_control.py", line 44, in <module>
    sessionSetup['Data'] = pack('<H', 0x1604) + '\x00'*20
TypeError: can't concat str to bytes
enty8080@Ivans-Air MS17-010-master %

after fix:

enty8080@Ivans-Air MS17-010-master % python3 npp_control.py 192.168.2.114
SMB1 session setup allocate nonpaged pool success
enty8080@Ivans-Air MS17-010-master %

@NewCoCraft
Copy link

Waddup?

@enty8080
Copy link
Author

enty8080 commented Feb 6, 2024

Wow, I completely forgot about this

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

Successfully merging this pull request may close these issues.

2 participants