- or download this
#!/usr/bin/env python3
import requests
...
ont_session.post(ont_urlprefix + "/logout.cgi?RequestFile=html/logout.
+html")
exit(0)
- or download this
#!/usr/bin/perl
use strict;
use warnings;
...
$res = $ua->get($url . '/html/amp/opticinfo/opticinfo.asp');
print($res->content);
$res = $ua->get($url . '/logout.cgi?RequestFile=html/logout.html');
- or download this
root@HERMES:~$ tcpdump -ttnnvvS 'tcp and net 192.168.18.0/24'
tcpdump: listening on ethwan, link-type EN10MB (Ethernet), capture siz
+e 262144 bytes
1612530239.807502 IP (tos 0x0, ttl 63, id 6338, offset 0, flags [DF],
+proto TCP (6), length 52)
...
8 packets captured
8 packets received by filter
0 packets dropped by kernel
- or download this
root@HERMES:~$ tcpdump -ttnnvvS 'tcp and net 192.168.18.0/24'
tcpdump: listening on ethwan, link-type EN10MB (Ethernet), capture siz
+e 262144 bytes
1612532228.397661 IP (tos 0x0, ttl 63, id 13929, offset 0, flags [DF],
+ proto TCP (6), length 52)
...
18 packets captured
18 packets received by filter
0 packets dropped by kernel