2014-12-10 20:21:33 -05:00
|
|
|
#!/usr/bin/env python
|
|
|
|
|
|
|
|
### TO USE:
|
|
|
|
#### Press Y on the HBMenu (opens the NetLoader)
|
|
|
|
#### Change host/port combination
|
|
|
|
#### Run the script
|
|
|
|
|
|
|
|
import socket
|
|
|
|
import sys
|
|
|
|
import time
|
|
|
|
|
|
|
|
TCP_IP = '192.168.xx.xx'
|
|
|
|
TCP_PORT = 9000
|
2015-01-04 00:30:20 -08:00
|
|
|
MESSAGE = open("3dsutils.3dsx", "rb").read();
|
2014-12-10 20:21:33 -05:00
|
|
|
|
|
|
|
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
|
|
|
|
s.connect((TCP_IP, TCP_PORT))
|
|
|
|
s.send(MESSAGE)
|
|
|
|
time.sleep(10)
|
|
|
|
s.close()
|
|
|
|
|