README - anticapum - Handle Università Politecnica delle Marche captive portal
(HTM) hg clone https://bitbucket.org/iamleot/anticapum
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
---
README
---
1 anticapum is a Python 3 script to handle captive.univpm.it at
2 Università Politecnica delle Marche (by default captive.dii.univpm.it
3 used in DII (Department of Information Engineering)).
4
5 anticapum by default will prompt the user for the username (the
6 same credentials used for `reserved area` i.e. s<serial>, p<serial>
7 or x<serial>) and a password, e.g.:
8
9 % anticapum
10 username: sXXXXXXX
11 password:
12
13 These credentials can also be added to `~/.netrc` (for more
14 information about it please give a look to ftp(1) or netrc(5)):
15
16 % cat ~/.netrc
17 [...]
18 machine captive.univpm.it
19 login sXXXXXXX
20 password XXXXXXX
21 [...]
22
23 ...in order to avoid typing the username and password every times.
24
25 When a SIGINFO and/or SIGUSR1 is sent to anticapum it will print
26 to the standard output current session information (`username`,
27 `ip`, `timestamp`, `sid` and `pulsante`).
28
29 When a SIGINT is sent to anticapum it will logout from the current
30 captive portal session and cleanly exit.
31
32
33 WARNING: At the moment no certificate validation is done!