Recent Public Pastes

web2 httpd.conf Diff
Added by astuffedtiger on 2018-03-23 17:52:01
52d44
< 
54,57c46,47
<     
<       AllowOverride All
No GitLab 10.6.0
Added by astuffedtiger on 2018-03-22 15:01:41
# git tag |grep 10.6
v10.6.0-rc1
v10.6.0-rc2
v10.6.0-rc3
v10.6.0-rc4
explorer.exe shell:::{ED834ED6-4B5A-4bfe-8F11-A626DCB6A921} -Microsoft.Personalization\pageWallpaper
Acronis cPanel Backup
Added by astuffedtiger on 2018-02-19 18:24:18
# Start of Acronis scheduler section. Please don't edit it manually.
11 23 * * 1,2,3,4,5 /usr/lib/Acronis/Schedule/schedwrapper -m cron -i 1
# End of Acronis scheduler section.
*/5 * * * * php /usr/local/cpanel/base/3rdparty/acronisbackup/scripts/watchdog-acronis-backup-srv.php >/dev/null 2>&1
web2.siteocity.com - spam_error_log
Added by astuffedtiger on 2018-02-16 18:28:20
Feb 16 18:20:54.450 [553387] info: zoom: able to use 1033/1036 'body_0' compiled rules (99.71%)
Feb 16 18:20:54.890 [553387] warn: Unescaped left brace in regex is deprecated here (and will be fatal in Perl 5.30), passed through in regex; marked by <-- HERE in m/(POWERBALL LOTTO|freelotto group|Royal Heritage Lottery|(British|UK) National( Online)? Lottery|U\.?K\.? Grand Promotions|Lottery Department UK|Euromillion Loteria|Luckyday International Lottery|International Lottery|Euro - Afro Asian Sweepstake|urawinner|Free Lotto Sweepstakes|PROMOTION DEPARTMENT|PROMOTION/PRIZE AWARD|Nederlandse Internationale Loterij|EURO MILLIONS|APPLE LOTTERY ONLINE|MSW MEGA JACKPOT|MICROSOFT EMAIL PROMO|MSNlottery|ECOWAS|Nigeria|National Lottery|claim.{1,10}your.gbp|won.you.{ <-- HERE 1,10]gbp)/ at /etc/mail/spamassassin/KAM.cf, rule __KAM_LOTTO5, line 1.
Feb 16 18:20:55.319 [553387] info: rules: meta test KAM_CARD has dependency 'KAM_RPTR_SUSPECT' with a zero score
Feb 16 18:20:55.320 [553387] info: rules: meta test KAM_AMAZON has dependency 'KAM_RAPTOR' with a zero score
Feb 16 18:20:55.320 [553387] info: rules: meta test KAM_BBB has dependency 'KAM_RAPTOR' with a zero score
chmod for suPHP
Added by astuffedtiger on 2018-01-20 21:07:12
find . -type f | xargs chmod -v 644
find . -type d | xargs chmod -v 755
Gentoo LiveCD chroot
Added by morgan on 2018-01-20 21:03:21
# passwd
# ifconfig enp0s25 192.168.100.6 broadcast 192.168.100.255 netmask 255.255.255.0 up
# route add default gw 192.168.100.1
# /etc/init.d/sshd start
# mount /dev/sda3 /mnt/gentoo
Delete Ubuntu Firewall Chains
Added by astuffedtiger on 2017-12-21 11:03:18
#!/bin/bash
for i in `iptables -L -n |grep ufw- |awk '{print $2}'` ; do iptables -X $i ; done
create-yosemite.sh
Added by astuffedtiger on 2017-09-05 17:49:35
#!/bin/bash
#
# Credits to fuckbecauseican5 from https://www.reddit.com/r/hackintosh/comments/4s561a/macos_sierra_16a238m_install_success_and_guide/
# Adapted to work with the official image available into Mac App Store
#
create-sierra.sh
Added by astuffedtiger on 2017-09-05 17:49:35
#!/bin/bash
#
# Credits to fuckbecauseican5 from https://www.reddit.com/r/hackintosh/comments/4s561a/macos_sierra_16a238m_install_success_and_guide/
# Adapted to work with the official image available into Mac App Store
#
GitLab 9.3.0 - gitaly-upload-pack Error
Added by astuffedtiger on 2017-06-23 21:04:18
/home/git/gitlab-shell/lib/gitlab_shell.rb:166:in `exec': No such file or directory - /home/git/gitlab-shell/bin/gitaly-upload-pack (Errno::ENOENT)
	from /home/git/gitlab-shell/lib/gitlab_shell.rb:166:in `exec_cmd'
	from /home/git/gitlab-shell/lib/gitlab_shell.rb:135:in `process_cmd'
	from /home/git/gitlab-shell/lib/gitlab_shell.rb:44:in `exec'
	from /home/git/gitlab-shell/bin/gitlab-shell:20:in `<main>'
FSCK Check
Added by astuffedtiger on 2017-05-16 19:46:04
#!/bin/bash
echo ":: Kernel Information ::" > /tmp/fsck_check
uname -a >> /tmp/fsck_check
echo "" >> /tmp/fsck_check
echo ":: Uptime ::" >> /tmp/fsck_check
Server Load Checking
Added by astuffedtiger on 2017-05-16 19:44:50
#!/bin/bash
currentload=`uptime|grep -o "[0-9]*\.[0-9]*"|xargs|cut -d\. -f1`;
if [ $currentload -gt "10" ];
    then
    echo ":: Hostname ::" > /tmp/serverload
MyAnimeList Dynamic Signature
Added by astuffedtiger on 2017-05-16 19:44:50
<?php
/********************************************************************
*  saka's minimal signature script - v1.21 (anime/manga merged)
*  http://myanimelist.net/forum/?topicid=84446
*  This code may be reused under the terms of the Creative Commons License (Attribution+NonCommercial+ShareAlike)
Show Credentials on WHMCS Product Page
Added by astuffedtiger on 2017-05-16 19:36:09
<?php
    use WHMCS\View\Menu\Item as MenuItem;
    /* Add credentials to the end of all secondary sidebars. */
    add_hook('ClientAreaSecondarySidebar', 1, function (MenuItem $secondarySidebar)
    {