tcp.len > 1 and tcp.port == 1521
tcpdump tcp port 1521 -s 0 -l -w – | strings | perl -e ‚
while(<>) { chomp; next if /^[^ ]+[ ]*$/;
if(/^(SELECT|UPDATE|DELETE|INSERT|SET|COMMIT|ROLLBACK|CREATE|DROP|ALTER)/i) {
if (defined $q) { print „$q\n“; }
$q=$_;
} else {
$_ =~ s/^[ \t]+//; $q.=“ $_“;
}
}‘
This entry was posted on Dienstag, Oktober 24th, 2023 at 18:37 and is filed under Administration, Network Info. You can follow any responses to this entry through the RSS 2.0 feed.
You can leave a response, or trackback from your own site.