Skip to content

Fixed concat problem in npp_control#49

Open
enty8080 wants to merge 1 commit intoworawit:masterfrom
enty8080:master
Open

Fixed concat problem in npp_control#49
enty8080 wants to merge 1 commit intoworawit:masterfrom
enty8080:master

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