New answers tagged

0

Run this while true do echo -----`date '+%r'` -----: netstat -ant | grep :8080 | awk '{print $6}' | sort | uniq -c | sort -n echo httpd processes: [`ps aux | grep httpd | wc -l`] echo . sleep 2 done It will monitor traffic on 8080 port every 2 seconds


2

The easiest and most portable way to see "hidden commands" is probably using cat -v For instance, I might run "cat -v" and paste into that terminal to see the nonprinting characters. Further reading: How can I see what my keyboard sends? (ncurses FAQ)


0

This is the way, I did it: create new user newftpuser: adduser newftpuser create new group caneditwww: addgroup caneditwww add newftpuser to that group: usermod -a -G caneditwww newftpuser change group ownership for all files and dirs in /var/www: chgrp -R caneditwww /var/www modify group permissions on /var/www, so group members can ...


2

So you want to host a wordpress website, on kali linux, inside a virtualbox virtual machine, under a windows host? How many bad decisions does a man need to do to arrive in this situation? If you want an answer, http://www.howtogeek.com/122641/how-to-forward-ports-to-a-virtual-machine-and-use-it-as-a-server/ But if you want a real answer, I highly suggest ...



Top 50 recent answers are included