D7net Mini Sh3LL v1
Current File : //libx32/../share/snapd/../locale/ia/../../doc/info/../libroken18-heimdal/../usbmuxd/../liberror-perl/../grub2-common/../libjpeg8/../php7.4-mysql/../gnupg/../python3-apt/../netplan.io/../wget/../libcurl3-gnutls/../libthai-data/../python3-six/../screen/../maria/../libxaw7/../libmnl0/../netplan/../gdisk/../systemd-sysv/../grep/../udisks2/../libacl1/../libxmlb1/../libperl5.30/../automake/../libmpfr6/../libisl22/../libext2fs2/../libcrypt1/../libtiff5/../liblsan0/../eject/../debconf-i18n/../zerofree/../python3-lazr.restfulclient/../libnewt0.52/../systemd/../libjpeg8/../python3/../libksba8/../diffutils/../less/../libgpgme11/../libpam0g/../libcom-err2/../libhtml-template-perl/examples/clean_shm.pl |
#!/usr/bin/env perl
use strict;
use warnings;
# this script deletes all shared memory segments accessible by the
# running user. Probably only works on Linux systems.
open(IPCS, 'ipcs |') or die "Probs opening icps : $!";
my $mode = 0;
while (<IPCS>) {
if (/(Shared)|(Semaphore)|(Message)/) {
$mode++;
next;
}
next unless /^0x[0-9a-f]+\s(\d+)\s.*$/;
system("ipcrm shm $1") if ($mode == 1);
system("ipcrm sem $1") if ($mode == 2);
system("ipcrm msg $1") if ($mode == 3);
}
AnonSec - 2021 | Recode By D7net