Skip to content

Instantly share code, notes, and snippets.

root@kali:~/Repos/hcxdumptool# strace iw dev wlan1 set channel 11
execve("/sbin/iw", ["iw", "dev", "wlan1", "set", "channel", "11"], 0x7feb8e9ba8 /* 22 vars */) = 0
brk(NULL) = 0x7207194000
faccessat(AT_FDCWD, "/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=84888, ...}) = 0
mmap(NULL, 84888, PROT_READ, MAP_PRIVATE, 3, 0) = 0x71f8950000
close(3) = 0
openat(AT_FDCWD, "/lib/aarch64-linux-gnu/libnl-genl-3.so.200", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0\267\0\1\0\0\0\300%\0\0\0\0\0\0"..., 832) = 832
[pid 7416] sendmsg(3, {msg_name={sa_family=AF_NETLINK, nl_pid=0, nl_groups=00000000}, msg_namelen=12, msg_iov=[{iov_base={{len=44, type=nl80211, flags=NLM_F_REQUEST|NLM_F_ACK, seq=1558560030, pid=3888127224}, "\x02\x00\x00\x00\x08\x00\x03\x00\x23\x00\x00\x00\x08\x00\x26\x00\x7b\x09\x00\x00\x08\x00\x27\x00\x00\x00\x00\x00"}, iov_len=44}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0 <unfinished ...>
[pid 7399] <... pselect6 resumed> ) = 0 (Timeout)
[pid 7399] ioctl(0, TIOCGWINSZ, {ws_row=69, ws_col=256, ws_xpixel=0, ws_ypixel=0}) = 0
[pid 7399] pselect6(7, [6], NULL, NULL, {tv_sec=0, tv_nsec=100000000}, NULL <unfinished ...>
[pid 7416] <... sendmsg resumed> ) = 44
[pid 7416] write(9, "\0\0\0\0", 4) = 4
[pid 7416] write(7, "\4\0\0\0", 4) = 4
[pid 7416] kill(7399, SIGUSR1 <unfinished ...>
[pid 7399] <... pselect6 resumed> ) = ? ERESTARTNOHAND (To be restarted if no handler)
[pid 7399] --- SIGUSR1 {si_signo=SIGUSR1, si_code=SI_USER, si_pid=7416, si_uid=0} ---