Skip to content

Instantly share code, notes, and snippets.

@cyberbalsa
cyberbalsa / gist:92855924a3faa00b1806f86d7752005e
Created August 10, 2016 03:00
Hidden Service - Non Rewriting Proxy
<?php
$uri = $_SERVER['REQUEST_URI'];
$url = "http://eveskunktd4tyipu.onion" . $uri;
$proxy = "127.0.0.1:9050";
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL,$url);
curl_setopt($ch, CURLOPT_PROXY, $proxy);
curl_setopt($ch, CURLOPT_PROXYTYPE, CURLPROXY_SOCKS5_HOSTNAME);
curl_setopt($ch, CURLOPT_USERAGENT, "JetBalsaProxy 1.0 - " . $_SERVER['HTTP_USER_AGENT'] );
Aug 2 19:43:54 CoreProcess kernel: [203977.314313] BUG: soft lockup - CPU#4 stuck for 22s! [khugepaged:72]
Aug 2 19:43:54 CoreProcess kernel: [203977.314319] Modules linked in: ip6t_REJECT xt_hl ip6t_rt ipt_REJECT xt_LOG xt_limit xt_tcpudp xt_addrtype nf_conntrack_netbios_ns nf_conntrack_broadcast nf_nat_ftp nf_nat nf_conntrack_ftp nf_conntrack_ipv6 nf_defrag_ipv6 ip6table_filter ip6_tables nf_conntrack_ipv4 nf_defrag_ipv4 xt_recent xt_conntrack nf_conntrack iptable_filter ip_tables x_tables ecb ecryptfs x86_pkg_temp_thermal intel_powerclamp intel_rapl coretemp kvm_intel kvm joydev crc32_pclmul iTCO_wdt iTCO_vendor_support ttm drm_kms_helper drm aesni_intel aes_x86_64 lrw gf128mul glue_helper ablk_helper evdev cryptd i2c_i801 tpm_tis shpchp wmi serio_raw tpm sb_edac ioatdma edac_core mei_me mei pcspkr lpc_ich mfd_core processor thermal_sys button ipmi_watchdog ipmi_si ipmi_poweroff ipmi_devintf ipmi_msghandler fuse autofs4 ext4 crc16 mbcache jbd2 btrfs ohci_hcd uhci_hcd pata_via netxen_nic 3w_9xxx qlge ixgb
Jul 28 19:46:33 CoreProcess kernel: [136198.881639] ------------[ cut here ]------------
Jul 28 19:46:33 CoreProcess kernel: [136198.882663] kernel BUG at /build/linux-dcxD3m/linux-4.4.0/mm/workingset.c:346!
Jul 28 19:46:33 CoreProcess kernel: [136198.884256] invalid opcode: 0000 [#1] SMP
Jul 28 19:46:33 CoreProcess kernel: [136198.885238] Modules linked in: binfmt_misc xt_recent nfsv3 rpcsec_gss_krb5 nfsv4 nfs cachefiles fscache ip6_tunnel tunnel6 ipip tunnel4 ip_tunnel intel_rapl x86_pkg_temp_thermal intel_powerclamp c$
Jul 28 19:46:33 CoreProcess kernel: [136198.909787] CPU: 5 PID: 83 Comm: kswapd0 Not tainted 4.4.0-31-generic #50-Ubuntu
Jul 28 19:46:33 CoreProcess kernel: [136198.911526] Hardware name: Supermicro X9SRE/X9SRE-3F/X9SRi/X9SRi-3F/X9SRE/X9SRE-3F/X9SRi/X9SRi-3F, BIOS 3.2a 08/31/2015
Jul 28 19:46:33 CoreProcess kernel: [136198.914015] task: ffff88085ada6040 ti: ffff880859a68000 task.ti: ffff880859a68000
Jul 28 19:46:33 CoreProcess kernel: [136198.915843] RIP: 0010:[<ffffffff811ba491>] [<fffffff
#!/bin/bash
exec 3>&1 4>&2
trap 'exec 2>&4 1>&3' 0 1 2 3
exec 1>/var/log/sync.log 2>&1
echo Starting up
cd /mnt/stage
rclone copy --min-age 1d --include '*' --checkers 4 --checksum /mnt/stage2/ acd:/media/
sleep 10
echo Killing Deluged
#!/bin/bash
filebot -script fn:amc --output "/mnt/plex" --filter "age < 14" --def "ut_label=TV" --action symlink --conflict auto -non-strict "/mnt/media/showrss/" --log-file amc.log --def excludeList=/home/deluge/amclist --def subtitles=en
filebot -script fn:amc --output "/mnt/plex" --def "ut_label=Movies" --action symlink --conflict auto -non-strict "/mnt/media/movierss/" --log-file amc.log --def excludeList=/home/deluge/amclist --def subtitles=en
filebot -script fn:amc --output "/mnt/plex" --filter "age < 14" --def "ut_label=Anime" --action symlink --conflict auto -non-strict "/mnt/media/animerss/" --log-file amc.log --def excludeList=/home/deluge/amclist --def subtitles=en
filebot -script fn:amc --output "/mnt/plex" --def "ut_label=TV" --action symlink --conflict auto -non-strict "/mnt/media/tv/" --log-file amc.log --def excludeList=/home/deluge/amclist --def subtitles=en
filebot -script fn:amc --output "/mnt/plex" --def "ut_label=Anime" --action symlink --conflict auto -non-strict "/mnt/media/anime/" --lo