Iam new to the python scripting and exploring for security program…
I wrote a simple server script that offered connection to the client and send message to the client . and saved in local path as seen in the attached screen shot. I already added python exe in environment variable path. But when i trying to run the script from the location where i saved through command prompt, i am getting following error as " Not recognized as an internal or external command " as seen in the attached screen shot.
can anyone please help me how to run it from a command prompt…
Hi Thanks @stetim94 for your replay… yea …you are right… but now whenever iam running program , iam getting following message…
Lets say there is server program as i already mentioned that offered connection to the client and send message to the client and other client program that listen from Server… Please look in to the attached screen shot and let me know please what is the exact issue… i googled it already but didn’t find suitable solution for that…
But if you did and you’re having trouble addressing what it’s telling you, then explain what that trouble is - there’s no way anyone will guess what that trouble is.
Hi @stetim94 … Thanks for your replay… yea… but iam not sure about the reason behind this issue… as per the code it should connect to the server… right? could you please tell me how can fix those…
Let me brief the scenario here
I have a Linux machine(Kali) in VM that considered/stand as server remotely for which the server listen program already done
Now i want my windows(Client) machine to connect to the server- that is linux… so this above code i believe it does …
Please let me know if there any issue respect to the code
yea @stetim94 i refereed some example for the same program and all where the arguments supplied was 2 ie - host and port… let me know what would be the exact method to connect to the host if the above is wrong…
Once you’ve identified that you’re using wrong arguments, look up its documentation to find out what it should be. You can find them by googling, including language name, module name, and function name should make it trivial to find