Answer the question
In order to leave comments, you need to log in
Airodump in the background takes up 90% of the Cpu, in normal mode - 3-4%, how so?
I'm trying to run airodump in the background. so that he does not interfere, look around at the access points and write a log to a file.
It seems to be nothing complicated.
#!/usr/bin/perl
use strict;
exec("airodump-ng mon0 -a --berlin 30 --output-format csv -w logFile >/dev/null 2>&1 &");
exec("airodump-ng mon0 -a --berlin 30 --output-format csv -w logFile >/dev/null 2>&1");
Answer the question
In order to leave comments, you need to log in
#!/usr/bin/perl
eval {
local $SIG{INT} = sub { die };
$pid = open(DUMP, "|airodump-ng mon0 1>/dev/null 2>/dev/null");
# * * *
close(DUMP);
};
I was finally able to run airodump-ng in background by using tmux the following way:tmux new -d -> creates a new tmux window in background tmux send -Rt 0 airodump-ng SPACE wlan0 ENTER -> sends the given keys to the backgound terminal
This way, airodump-ng works and doesn't take 100% CPU like with screen.
https://unix.stackexchange.com/questions/355808/ho...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question