Advertisement
adde88

wash strace (openwrt 19.07) 30 seonds scan

Jul 31st, 2019
223
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 15.77 KB | None | 0 0
  1. root@Pineapple:~# gnu-timeout 30 strace wash -i wlan1mon
  2. execve("/sd/usr/bin/wash", ["wash", "-i", "wlan1mon"], 0x7fe54018 /* 14 vars */) = 0
  3. set_thread_area(0x77fc2eb8) = 0
  4. set_tid_address(0x77fb9fa8) = 8153
  5. open("/lib/libpcap.so.1", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
  6. open("usr/lib/libpcap.so.1", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
  7. open("/sd/lib/libpcap.so.1", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
  8. open("/sd/usr/lib/libpcap.so.1", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
  9. open("/etc/ld-musl-mips-sf.path", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
  10. open("/lib/libpcap.so.1", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
  11. open("/usr/local/lib/libpcap.so.1", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
  12. open("/usr/lib/libpcap.so.1", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
  13. fcntl64(3, F_SETFD, FD_CLOEXEC) = 0
  14. fstat64(3, {st_mode=S_IFREG|0644, st_size=185552, ...}) = 0
  15. read(3, "\177ELF\1\2\1\0\0\0\0\0\0\0\0\0\0\3\0\10\0\0\0\1\0\0>\360\0\0\0004"..., 936) = 936
  16. mmap2(NULL, 253952, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x77ed6000
  17. mmap2(0x77f12000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x2c000) = 0x77f12000
  18. close(3) = 0
  19. open("/lib/libgcc_s.so.1", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
  20. fcntl64(3, F_SETFD, FD_CLOEXEC) = 0
  21. fstat64(3, {st_mode=S_IFREG|0644, st_size=78080, ...}) = 0
  22. read(3, "\177ELF\1\2\1\0\0\0\0\0\0\0\0\0\0\3\0\10\0\0\0\1\0\0'\320\0\0\0004"..., 936) = 936
  23. mmap2(NULL, 147456, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x77eb2000
  24. mmap2(0x77ed4000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x12000) = 0x77ed4000
  25. close(3) = 0
  26. mprotect(0x77f12000, 4096, PROT_READ) = 0
  27. mprotect(0x77ed4000, 4096, PROT_READ) = 0
  28. mprotect(0x445000, 4096, PROT_READ) = 0
  29. brk(NULL) = 0xb4c000
  30. brk(0xb57000) = 0xb57000
  31. socket(AF_INET, SOCK_DGRAM, IPPROTO_IP) = 3
  32. ioctl(3, SIOCGIFHWADDR, {ifr_name="wlan1mon", ifr_hwaddr={sa_family=ARPHRD_IEEE80211_RADIOTAP, sa_data=00:c0:ca:90:a3:35}}) = 0
  33. close(3) = 0
  34. open("wlan1mon", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
  35. socket(AF_UNIX, SOCK_RAW, 0) = 3
  36. ioctl(3, SIOCETHTOOL, 0x7fd0b0d4) = 0
  37. close(3) = 0
  38. open("/proc/net/dev", O_RDONLY|O_LARGEFILE) = 3
  39. read(3, "Inter-| Receive "..., 1024) = 942
  40. _llseek(3, -123, [819], SEEK_CUR) = 0
  41. close(3) = 0
  42. socket(AF_PACKET, SOCK_RAW, htons(ETH_P_ALL)) = 3
  43. ioctl(3, SIOCGIFINDEX, {ifr_name="lo", }) = 0
  44. ioctl(3, SIOCGIFHWADDR, {ifr_name="wlan1mon", ifr_hwaddr={sa_family=ARPHRD_IEEE80211_RADIOTAP, sa_data=00:c0:ca:90:a3:35}}) = 0
  45. ioctl(3, SIOCGIFINDEX, {ifr_name="wlan1mon", }) = 0
  46. bind(3, {sa_family=AF_PACKET, sll_protocol=htons(ETH_P_ALL), sll_ifindex=if_nametoindex("wlan1mon"), sll_hatype=ARPHRD_NETROM, sll_pkttype=PACKET_HOST, sll_halen=0}, 20) = 0
  47. getsockopt(3, SOL_SOCKET, SO_ERROR, [0], [4]) = 0
  48. setsockopt(3, SOL_PACKET, PACKET_ADD_MEMBERSHIP, {mr_ifindex=if_nametoindex("wlan1mon"), mr_type=PACKET_MR_PROMISC, mr_alen=0, mr_address=00:c0:ca:90:a3:35}, 16) = 0
  49. setsockopt(3, SOL_PACKET, PACKET_AUXDATA, [1], 4) = 0
  50. getsockopt(3, SOL_SOCKET, SO_BPF_EXTENSIONS, [64], [4]) = 0
  51. brk(0xb68000) = 0xb68000
  52. getsockopt(3, SOL_PACKET, PACKET_HDRLEN, [48], [4]) = 0
  53. setsockopt(3, SOL_PACKET, PACKET_VERSION, [2], 4) = 0
  54. setsockopt(3, SOL_PACKET, PACKET_RESERVE, [4], 4) = 0
  55. setsockopt(3, SOL_PACKET, PACKET_RX_RING, 0x7fd0b0b8, 28) = 0
  56. mmap2(NULL, 2097152, PROT_READ|PROT_WRITE, MAP_SHARED, 3, 0) = 0x77cb2000
  57. uname({sysname="Linux", nodename="Pineapple", ...}) = 0
  58. setsockopt(3, SOL_SOCKET, SO_ATTACH_FILTER, {len=1, filter=0x77f13008}, 8) = 0
  59. fcntl64(3, F_GETFL) = 0x2 (flags O_RDWR)
  60. fcntl64(3, F_SETFL, O_RDWR|O_NONBLOCK|O_LARGEFILE) = 0
  61. recvfrom(3, 0x7fd0b1fc, 1, MSG_TRUNC, NULL, NULL) = -1 EAGAIN (Resource temporarily unavailable)
  62. fcntl64(3, F_SETFL, O_RDWR|O_LARGEFILE) = 0
  63. setsockopt(3, SOL_SOCKET, SO_ATTACH_FILTER, {len=21, filter=0x77ed5ca0}, 8) = 0
  64. rt_sigprocmask(SIG_UNBLOCK, [RT_1 RT_2], NULL, 16) = 0
  65. rt_sigaction(SIGALRM, {sa_handler=0x407b64, sa_mask=[RT_68 RT_70 RT_73 RT_74 RT_75 RT_77 RT_82 RT_85 RT_86 RT_87 RT_88 RT_89 RT_90 RT_91 RT_93 RT_94 RT_95], sa_flags=SA_RESTORER, sa_restorer=NULL}, NULL, 16) = 0
  66. setitimer(ITIMER_REAL, {it_interval={tv_sec=0, tv_usec=999999}, it_value={tv_sec=0, tv_usec=999999}}, {it_interval={tv_sec=0, tv_usec=0}, it_value={tv_sec=0, tv_usec=0}}) = 0
  67. socket(AF_INET, SOCK_DGRAM, IPPROTO_IP) = 4
  68. ioctl(4, SIOCSIWFREQ, 0x7fd0b220) = 0
  69. close(4) = 0
  70. rt_sigaction(SIGINT, NULL, {sa_handler=SIG_DFL, sa_mask=[RT_81], sa_flags=0}, 16) = 0
  71. rt_sigaction(SIGINT, {sa_handler=0x40c140, sa_mask=[RT_68 RT_70 RT_73 RT_74 RT_75 RT_77 RT_82 RT_85 RT_86 RT_87 RT_88 RT_89 RT_90 RT_91 RT_93 RT_94 RT_95], sa_flags=SA_RESTORER, sa_restorer=NULL}, NULL, 16) = 0
  72. writev(1, [{iov_base="", iov_len=0}, {iov_base="BSSID Ch dBm WPS"..., iov_len=55}], 2BSSID Ch dBm WPS Lck Vendor ESSID
  73. ) = 55
  74. writev(1, [{iov_base="", iov_len=0}, {iov_base="--------------------------------"..., iov_len=81}], 2--------------------------------------------------------------------------------
  75. ) = 81
  76. poll([{fd=3, events=POLLIN}], 1, -1) = ? ERESTART_RESTARTBLOCK (Interrupted by signal)
  77. --- SIGALRM {si_signo=SIGALRM, si_code=SI_KERNEL} ---
  78. socket(AF_INET, SOCK_DGRAM, IPPROTO_IP) = 4
  79. ioctl(4, SIOCSIWFREQ, 0x7fd0adc0) = 0
  80. close(4) = 0
  81. sigreturn({mask=[]}) = -1 EINTR (Interrupted system call)
  82. poll([{fd=3, events=POLLIN}], 1, -1) = ? ERESTART_RESTARTBLOCK (Interrupted by signal)
  83. --- SIGALRM {si_signo=SIGALRM, si_code=SI_KERNEL} ---
  84. socket(AF_INET, SOCK_DGRAM, IPPROTO_IP) = 4
  85. ioctl(4, SIOCSIWFREQ, 0x7fd0adc0) = 0
  86. close(4) = 0
  87. sigreturn({mask=[]}) = -1 EINTR (Interrupted system call)
  88. poll([{fd=3, events=POLLIN}], 1, -1) = ? ERESTART_RESTARTBLOCK (Interrupted by signal)
  89. --- SIGALRM {si_signo=SIGALRM, si_code=SI_KERNEL} ---
  90. socket(AF_INET, SOCK_DGRAM, IPPROTO_IP) = 4
  91. ioctl(4, SIOCSIWFREQ, 0x7fd0adc0) = 0
  92. close(4) = 0
  93. sigreturn({mask=[]}) = -1 EINTR (Interrupted system call)
  94. poll([{fd=3, events=POLLIN}], 1, -1) = ? ERESTART_RESTARTBLOCK (Interrupted by signal)
  95. --- SIGALRM {si_signo=SIGALRM, si_code=SI_KERNEL} ---
  96. socket(AF_INET, SOCK_DGRAM, IPPROTO_IP) = 4
  97. ioctl(4, SIOCSIWFREQ, 0x7fd0adc0) = 0
  98. close(4) = 0
  99. sigreturn({mask=[]}) = -1 EINTR (Interrupted system call)
  100. poll([{fd=3, events=POLLIN}], 1, -1) = ? ERESTART_RESTARTBLOCK (Interrupted by signal)
  101. --- SIGALRM {si_signo=SIGALRM, si_code=SI_KERNEL} ---
  102. socket(AF_INET, SOCK_DGRAM, IPPROTO_IP) = 4
  103. ioctl(4, SIOCSIWFREQ, 0x7fd0adc0) = 0
  104. close(4) = 0
  105. sigreturn({mask=[]}) = -1 EINTR (Interrupted system call)
  106. poll([{fd=3, events=POLLIN}], 1, -1) = ? ERESTART_RESTARTBLOCK (Interrupted by signal)
  107. --- SIGALRM {si_signo=SIGALRM, si_code=SI_KERNEL} ---
  108. socket(AF_INET, SOCK_DGRAM, IPPROTO_IP) = 4
  109. ioctl(4, SIOCSIWFREQ, 0x7fd0adc0) = 0
  110. close(4) = 0
  111. sigreturn({mask=[]}) = -1 EINTR (Interrupted system call)
  112. poll([{fd=3, events=POLLIN}], 1, -1) = ? ERESTART_RESTARTBLOCK (Interrupted by signal)
  113. --- SIGALRM {si_signo=SIGALRM, si_code=SI_KERNEL} ---
  114. socket(AF_INET, SOCK_DGRAM, IPPROTO_IP) = 4
  115. ioctl(4, SIOCSIWFREQ, 0x7fd0adc0) = 0
  116. close(4) = 0
  117. sigreturn({mask=[]}) = -1 EINTR (Interrupted system call)
  118. poll([{fd=3, events=POLLIN}], 1, -1) = ? ERESTART_RESTARTBLOCK (Interrupted by signal)
  119. --- SIGALRM {si_signo=SIGALRM, si_code=SI_KERNEL} ---
  120. socket(AF_INET, SOCK_DGRAM, IPPROTO_IP) = 4
  121. ioctl(4, SIOCSIWFREQ, 0x7fd0adc0) = 0
  122. close(4) = 0
  123. sigreturn({mask=[]}) = -1 EINTR (Interrupted system call)
  124. poll([{fd=3, events=POLLIN}], 1, -1) = ? ERESTART_RESTARTBLOCK (Interrupted by signal)
  125. --- SIGALRM {si_signo=SIGALRM, si_code=SI_KERNEL} ---
  126. socket(AF_INET, SOCK_DGRAM, IPPROTO_IP) = 4
  127. ioctl(4, SIOCSIWFREQ, 0x7fd0adc0) = 0
  128. close(4) = 0
  129. sigreturn({mask=[]}) = -1 EINTR (Interrupted system call)
  130. poll([{fd=3, events=POLLIN}], 1, -1) = ? ERESTART_RESTARTBLOCK (Interrupted by signal)
  131. --- SIGALRM {si_signo=SIGALRM, si_code=SI_KERNEL} ---
  132. socket(AF_INET, SOCK_DGRAM, IPPROTO_IP) = 4
  133. ioctl(4, SIOCSIWFREQ, 0x7fd0adc0) = 0
  134. close(4) = 0
  135. sigreturn({mask=[]}) = -1 EINTR (Interrupted system call)
  136. poll([{fd=3, events=POLLIN}], 1, -1) = ? ERESTART_RESTARTBLOCK (Interrupted by signal)
  137. --- SIGALRM {si_signo=SIGALRM, si_code=SI_KERNEL} ---
  138. socket(AF_INET, SOCK_DGRAM, IPPROTO_IP) = 4
  139. ioctl(4, SIOCSIWFREQ, 0x7fd0adc0) = 0
  140. close(4) = 0
  141. sigreturn({mask=[]}) = -1 EINTR (Interrupted system call)
  142. poll([{fd=3, events=POLLIN}], 1, -1) = ? ERESTART_RESTARTBLOCK (Interrupted by signal)
  143. --- SIGALRM {si_signo=SIGALRM, si_code=SI_KERNEL} ---
  144. socket(AF_INET, SOCK_DGRAM, IPPROTO_IP) = 4
  145. ioctl(4, SIOCSIWFREQ, 0x7fd0adc0) = 0
  146. close(4) = 0
  147. sigreturn({mask=[]}) = -1 EINTR (Interrupted system call)
  148. poll([{fd=3, events=POLLIN}], 1, -1) = ? ERESTART_RESTARTBLOCK (Interrupted by signal)
  149. --- SIGALRM {si_signo=SIGALRM, si_code=SI_KERNEL} ---
  150. socket(AF_INET, SOCK_DGRAM, IPPROTO_IP) = 4
  151. ioctl(4, SIOCSIWFREQ, 0x7fd0adc0) = 0
  152. close(4) = 0
  153. sigreturn({mask=[]}) = -1 EINTR (Interrupted system call)
  154. poll([{fd=3, events=POLLIN}], 1, -1) = ? ERESTART_RESTARTBLOCK (Interrupted by signal)
  155. --- SIGALRM {si_signo=SIGALRM, si_code=SI_KERNEL} ---
  156. socket(AF_INET, SOCK_DGRAM, IPPROTO_IP) = 4
  157. ioctl(4, SIOCSIWFREQ, 0x7fd0adc0) = 0
  158. close(4) = 0
  159. sigreturn({mask=[]}) = -1 EINTR (Interrupted system call)
  160. poll([{fd=3, events=POLLIN}], 1, -1) = ? ERESTART_RESTARTBLOCK (Interrupted by signal)
  161. --- SIGALRM {si_signo=SIGALRM, si_code=SI_KERNEL} ---
  162. socket(AF_INET, SOCK_DGRAM, IPPROTO_IP) = 4
  163. ioctl(4, SIOCSIWFREQ, 0x7fd0adc0) = 0
  164. close(4) = 0
  165. sigreturn({mask=[]}) = -1 EINTR (Interrupted system call)
  166. poll([{fd=3, events=POLLIN}], 1, -1) = ? ERESTART_RESTARTBLOCK (Interrupted by signal)
  167. --- SIGALRM {si_signo=SIGALRM, si_code=SI_KERNEL} ---
  168. socket(AF_INET, SOCK_DGRAM, IPPROTO_IP) = 4
  169. ioctl(4, SIOCSIWFREQ, 0x7fd0adc0) = 0
  170. close(4) = 0
  171. sigreturn({mask=[]}) = -1 EINTR (Interrupted system call)
  172. poll([{fd=3, events=POLLIN}], 1, -1) = ? ERESTART_RESTARTBLOCK (Interrupted by signal)
  173. --- SIGALRM {si_signo=SIGALRM, si_code=SI_KERNEL} ---
  174. socket(AF_INET, SOCK_DGRAM, IPPROTO_IP) = 4
  175. ioctl(4, SIOCSIWFREQ, 0x7fd0adc0) = 0
  176. close(4) = 0
  177. sigreturn({mask=[]}) = -1 EINTR (Interrupted system call)
  178. poll([{fd=3, events=POLLIN}], 1, -1) = ? ERESTART_RESTARTBLOCK (Interrupted by signal)
  179. --- SIGALRM {si_signo=SIGALRM, si_code=SI_KERNEL} ---
  180. socket(AF_INET, SOCK_DGRAM, IPPROTO_IP) = 4
  181. ioctl(4, SIOCSIWFREQ, 0x7fd0adc0) = 0
  182. close(4) = 0
  183. sigreturn({mask=[]}) = -1 EINTR (Interrupted system call)
  184. poll([{fd=3, events=POLLIN}], 1, -1) = ? ERESTART_RESTARTBLOCK (Interrupted by signal)
  185. --- SIGALRM {si_signo=SIGALRM, si_code=SI_KERNEL} ---
  186. socket(AF_INET, SOCK_DGRAM, IPPROTO_IP) = 4
  187. ioctl(4, SIOCSIWFREQ, 0x7fd0adc0) = 0
  188. close(4) = 0
  189. sigreturn({mask=[]}) = -1 EINTR (Interrupted system call)
  190. poll([{fd=3, events=POLLIN}], 1, -1) = ? ERESTART_RESTARTBLOCK (Interrupted by signal)
  191. --- SIGALRM {si_signo=SIGALRM, si_code=SI_KERNEL} ---
  192. socket(AF_INET, SOCK_DGRAM, IPPROTO_IP) = 4
  193. ioctl(4, SIOCSIWFREQ, 0x7fd0adc0) = 0
  194. close(4) = 0
  195. sigreturn({mask=[]}) = -1 EINTR (Interrupted system call)
  196. poll([{fd=3, events=POLLIN}], 1, -1) = ? ERESTART_RESTARTBLOCK (Interrupted by signal)
  197. --- SIGALRM {si_signo=SIGALRM, si_code=SI_KERNEL} ---
  198. socket(AF_INET, SOCK_DGRAM, IPPROTO_IP) = 4
  199. ioctl(4, SIOCSIWFREQ, 0x7fd0adc0) = 0
  200. close(4) = 0
  201. sigreturn({mask=[]}) = -1 EINTR (Interrupted system call)
  202. poll([{fd=3, events=POLLIN}], 1, -1) = ? ERESTART_RESTARTBLOCK (Interrupted by signal)
  203. --- SIGALRM {si_signo=SIGALRM, si_code=SI_KERNEL} ---
  204. socket(AF_INET, SOCK_DGRAM, IPPROTO_IP) = 4
  205. ioctl(4, SIOCSIWFREQ, 0x7fd0adc0) = 0
  206. close(4) = 0
  207. sigreturn({mask=[]}) = -1 EINTR (Interrupted system call)
  208. poll([{fd=3, events=POLLIN}], 1, -1) = ? ERESTART_RESTARTBLOCK (Interrupted by signal)
  209. --- SIGALRM {si_signo=SIGALRM, si_code=SI_KERNEL} ---
  210. socket(AF_INET, SOCK_DGRAM, IPPROTO_IP) = 4
  211. ioctl(4, SIOCSIWFREQ, 0x7fd0adc0) = 0
  212. close(4) = 0
  213. sigreturn({mask=[]}) = -1 EINTR (Interrupted system call)
  214. poll([{fd=3, events=POLLIN}], 1, -1) = ? ERESTART_RESTARTBLOCK (Interrupted by signal)
  215. --- SIGALRM {si_signo=SIGALRM, si_code=SI_KERNEL} ---
  216. socket(AF_INET, SOCK_DGRAM, IPPROTO_IP) = 4
  217. ioctl(4, SIOCSIWFREQ, 0x7fd0adc0) = 0
  218. close(4) = 0
  219. sigreturn({mask=[]}) = -1 EINTR (Interrupted system call)
  220. poll([{fd=3, events=POLLIN}], 1, -1) = ? ERESTART_RESTARTBLOCK (Interrupted by signal)
  221. --- SIGALRM {si_signo=SIGALRM, si_code=SI_KERNEL} ---
  222. socket(AF_INET, SOCK_DGRAM, IPPROTO_IP) = 4
  223. ioctl(4, SIOCSIWFREQ, 0x7fd0adc0) = 0
  224. close(4) = 0
  225. sigreturn({mask=[]}) = -1 EINTR (Interrupted system call)
  226. poll([{fd=3, events=POLLIN}], 1, -1) = ? ERESTART_RESTARTBLOCK (Interrupted by signal)
  227. --- SIGALRM {si_signo=SIGALRM, si_code=SI_KERNEL} ---
  228. socket(AF_INET, SOCK_DGRAM, IPPROTO_IP) = 4
  229. ioctl(4, SIOCSIWFREQ, 0x7fd0adc0) = 0
  230. close(4) = 0
  231. sigreturn({mask=[]}) = -1 EINTR (Interrupted system call)
  232. poll([{fd=3, events=POLLIN}], 1, -1) = ? ERESTART_RESTARTBLOCK (Interrupted by signal)
  233. --- SIGALRM {si_signo=SIGALRM, si_code=SI_KERNEL} ---
  234. socket(AF_INET, SOCK_DGRAM, IPPROTO_IP) = 4
  235. ioctl(4, SIOCSIWFREQ, 0x7fd0adc0) = 0
  236. close(4) = 0
  237. sigreturn({mask=[]}) = -1 EINTR (Interrupted system call)
  238. poll([{fd=3, events=POLLIN}], 1, -1) = ? ERESTART_RESTARTBLOCK (Interrupted by signal)
  239. --- SIGALRM {si_signo=SIGALRM, si_code=SI_KERNEL} ---
  240. socket(AF_INET, SOCK_DGRAM, IPPROTO_IP) = 4
  241. ioctl(4, SIOCSIWFREQ, 0x7fd0adc0) = 0
  242. close(4) = 0
  243. sigreturn({mask=[]}) = -1 EINTR (Interrupted system call)
  244. poll([{fd=3, events=POLLIN}], 1, -1) = ? ERESTART_RESTARTBLOCK (Interrupted by signal)
  245. --- SIGALRM {si_signo=SIGALRM, si_code=SI_KERNEL} ---
  246. socket(AF_INET, SOCK_DGRAM, IPPROTO_IP) = 4
  247. ioctl(4, SIOCSIWFREQ, 0x7fd0adc0) = 0
  248. close(4) = 0
  249. sigreturn({mask=[]}) = -1 EINTR (Interrupted system call)
  250. poll([{fd=3, events=POLLIN}], 1, -1strace: Process 8153 detached
  251. <detached ...>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement