There is nothing wrong with using python. In fact, it is commonly used by security researchers.
It's just… it's completely garbage.
import connexion_socket # ??? could be a custom module, but will be overriden in line 7, interestingly there is a HTTP framework called "connexion"
import sub process,os # SyntaxError, should be `import sub process,os`
HOST = “142.2635.399” # SyntaxError, invalid quote characters (& invalid IP ofc)
# the line below would completely override the line above
HOST = 263399” # SyntaxError, invalid quote character, unterminated string literal (& invalid port number ofc)
connexion_socket = socket.socket(socket.AF_INET, socket.SOCK_STREAM) # socket is not imported/defined
connexion_socket.setsocket.socket(socket.AF_INET, socket.SOCK_STREAM)_91767 # at least on current versions, a `socket` object has no attribute `setsocket`
# the trailing `_91767` is a SyntaxError and makes no sense
# the whole line looks pretty redundant
onnexion_socket.connect((HOST, 263501)) # typo (& another invalid port)
[expand] # I guess that should not part be part of the code, but it is written inside the editor
connexion_socket.close(1)
command = connexion_socket.recv(1024)
<<CONNECTING>> # inside the editor, too
Agree with everything you said. But I think there was working python here that was modified for screen rather than working code, live IPs, etc… Also the “connecting” line is literally part of the screenshot from the text editor, that part is pretty lazy
10
u/[deleted] Dec 15 '22
Pff, import scifiDoorOpener as open_door open_door(*)
7
u/NaoPb Dec 15 '22
Uptime 7 minutes when some processes have been running for over an hour. Impressive.
16
u/trojanGen2 Dec 14 '22
With just the context of this photo, it doesn’t seem that bad to me. If the port is open and you know how to connect with python, than use python?
32
u/himmmmmmmmmmmmmm Dec 14 '22
Which “department” would create this screen ? Art? Visual Effects? Set Decorator? I’m looking thru IMDB so I can do a Nelson at them
31
u/teilo Dec 15 '22
It may look pythony, but it's nonsense code and not python.
18
u/CloudSill Dec 14 '22
Shoot, he's dangerously low on Fan ROM, too!
8
u/[deleted] Dec 15 '22
Jokes on you, that totally works, but only if you type <<CONNECTING>> at the end
3
u/[deleted] Dec 18 '22
It’s the setting HOST twice that gets me
2
u/JakeN9 Dec 15 '22
Connexion contains a fo paux, error.. ending service..
2
u/[deleted] Jan 03 '23
IDK if I’m the only one thinking this, but what process manager is that in the background?
2
u/bruhred Jan 16 '23
Also why is the "Mainframe" running on a half-charged battery
2
u/CthonianGodkiller Feb 18 '23
The colouerscheme looks great at least
2
u/Alkemian May 16 '23
Is that HTOP in the back? Lol
1
u/mighty_spaceman Jan 10 '23
Websocket doors
0
u/[deleted] Dec 14 '22
[deleted] — view deleted comment