Assembly Programming Journal
@DrWatson
Published in
guide hacker
· 3 Jun 2018
... ò, devi compiere una call ioperm(). Questa funzione può essere chiamata solo da un utente root, quindi devi o setuid() il programma come root oppure eseguire il programma da root. La ioperm() ha la sintassi seguente: ioperm( long StartingPort#, long #Ports, BOOL ToggleOn-Off) dove 'StartingPort#' specifica il numero della prima porta da accedere (0 is port 0h, 40h is port 40h, etc), '#Ports' specifica quante porte accedere (i.e., 'StartingPort# = 30h' e '#Ports = 10' concederebbero l'accesso alle port ...