00:01
In this question, we have to write a python script using scapi to interact with a tennet server.
00:08
The script should send a tennet command to the server and capture its response.
00:13
The goal is also demonstrate the ability to communicate with the tennet server using scapi.
00:22
Now here are the code to send a simple tennet command using scapi.
00:30
This code should be written in python language.
00:33
From scapi on import target ip is equal to target underscore ip underscore address target underscore port is equal to 23.
00:59
This is the target ip and port.
01:04
Tennet underscore command is equal to slash nls slash n.
01:13
Ip layer is equal to ip src your source ip.
01:20
This is the craft the ip layer and above is the tennet command to send.
01:30
Tcp layer is equal to tcp as port is equal to rand short.
01:38
Deport is equal to target port...