Linux vmi284606.contaboserver.net 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64
Apache/2.4.57 (Ubuntu)
: 167.86.127.34 | : 216.73.217.31
Cant Read [ /etc/named.conf ]
7.2.24-0ubuntu0.18.04.17
root
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
usr /
share /
doc /
popularity-contest /
examples /
bin /
[ HOME SHELL ]
Name
Size
Permission
Action
README.examples
1.36
KB
-rw-r--r--
gensections.pl
509
B
-rwxr-xr-x
popanal.py
8.23
KB
-rwxr-xr-x
popcon-process.sh
2.31
KB
-rwxr-xr-x
popcon-stat.pl
4.08
KB
-rwxr-xr-x
popcon.pl
18.78
KB
-rwxr-xr-x
prepop.pl
2.2
KB
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : popcon-process.sh
#!/bin/sh BASEDIR=/srv/popcon.debian.org/popcon-mail MAILDIR=../Mail WEBDIR=../www LOGDIR=$BASEDIR/../logs BINDIR=$BASEDIR/../bin INCOMINGDIR=$BASEDIR/../incoming DATADIR=$BASEDIR/popcon-entries SUMMARYDIR=$BASEDIR/all-popcon-results SUMMARYDIRSTABLE=$BASEDIR/all-popcon-results.stable # set to 'true' if email submissions should be processed READMAIL=true # Remove entries older than # number of days DAYLIMIT=20 set -e cd $BASEDIR umask 0002 # rotate incoming mail spool files if [ true = "$READMAIL" ] ; then mv $MAILDIR/survey new-popcon-entries touch $MAILDIR/survey chmod go-rwx $MAILDIR/survey # process entries, splitting them into individual reports rm -fr $INCOMINGDIR/old mkdir -m 700 $INCOMINGDIR/old (cd $INCOMINGDIR/new; find . -type f -exec mv -t ../old "{}" +) (cd $INCOMINGDIR/old; find . -type f -name '*.gz' -execdir gunzip "{}" \; ) 2> $LOGDIR/incoming.log find $INCOMINGDIR/old -type f -readable ! -empty | xargs cat >> new-popcon-entries rm -fr popcon-gpg mkdir -m 770 popcon-gpg $BINDIR/prepop.pl <new-popcon-entries >$LOGDIR/prepop.out 2>&1 #decrypt reports (to be parallelized) date >$LOGDIR/gpg.log find popcon-gpg -type f -name '*.gpg' -execdir gpg --multifile --decrypt {} \; >>$LOGDIR/gpg.log 2>&1 date >>$LOGDIR/gpg.log #process decrypted reports find popcon-gpg -type f -name '*.txt'| xargs cat | $BINDIR/prepop.pl >> $LOGDIR/prepop.out 2>&1 fi # delete outdated entries rm -f results results.stable find $DATADIR -type f -mtime +$DAYLIMIT -print0 | xargs -0 rm -f -- # Generate statistics find $DATADIR -type f | xargs cat \ | nice -15 $BINDIR/popanal.py >$LOGDIR/popanal.out 2>&1 cp results $WEBDIR/all-popcon-results cp results.stable $WEBDIR/stable/stable-popcon-results gzip -f $WEBDIR/all-popcon-results gzip -f $WEBDIR/stable/stable-popcon-results cp $WEBDIR/all-popcon-results.gz $SUMMARYDIR/popcon-`date +"%Y-%m-%d"`.gz cp $WEBDIR/stable/stable-popcon-results.gz $SUMMARYDIRSTABLE/popcon-`date +"%Y-%m-%d"`.stable.gz cd ../popcon-stat find $SUMMARYDIR -type f -print | sort | $BINDIR/popcon-stat.pl ../www/stat>$LOGDIR/popstat.log 2>&1 find $SUMMARYDIRSTABLE -type f -print | sort | $BINDIR/popcon-stat.pl ../www/stable/stat >> $LOGDIR/popstat.log 2>&1 cd ../popcon-web $BINDIR/popcon.pl >$LOGDIR/popcon.log 2>$LOGDIR/popcon.errors
Close