Update nginx config to support a longer timeout to prevent it dropping the connection when trying to debug in PHP Storm
fastcgi_read_timeout 600; # Set fairly high for debugging
| Windows Registry Editor Version 5.00 | |
| [-HKEY_CLASSES_ROOT\Directory\Background\shell\Cmder] | |
| [-HKEY_CLASSES_ROOT\Directory\shell\Cmder] |
| @echo off | |
| net session > nul 2>&1 | |
| if /i not %errorlevel%==0 ( | |
| echo You must run this from an elevated prompt. | |
| goto:eof | |
| ) | |
| call :setreg "HKCR\Directory\shell\runas" | |
| call :setreg "HKCR\Directory\Background\shell\runas" |
| { | |
| "variables": { | |
| "ssh_user": "root", | |
| "ssh_pass": "T@c0_Bu3n0" | |
| }, | |
| "builders": [ | |
| { |
Hi guys! Since I started to write Bluebox-ng I've been tracking the different security projects I found written in Node.js. Now we've published the first stable version we think it's the right moment to speak among us (and, of course, everyone interested in it :).
| # The file is now part of OpenWrt repo: | |
| # | |
| # https://git.openwrt.org/?p=openwrt/openwrt.git;a=blob;f=scripts/qemustart;hb=HEAD | |
| # | |
| # |
| # Vncserver service file for Debian or Ubuntu with systemd | |
| # | |
| # Install vncserver and tools | |
| # e.g. apt-get install tightvncserver autocutsel gksu | |
| # | |
| # 1. Copy this file to /etc/systemd/system/vncserver@:1.service | |
| # 2. Edit User= | |
| # e.g "User=paul" | |
| # 3. Edit the vncserver parameters appropriately in the ExecStart= line! | |
| # e.g. the -localhost option only allows connections from localhost (or via ssh tunnels) |
| # Source: | |
| # https://www.cloudflare.com/ips | |
| # https://support.cloudflare.com/hc/en-us/articles/200169166-How-do-I-whitelist-CloudFlare-s-IP-addresses-in-iptables- | |
| for i in `curl https://www.cloudflare.com/ips-v4`; do iptables -I INPUT -p tcp -m multiport --dports http,https -s $i -j ACCEPT; done | |
| for i in `curl https://www.cloudflare.com/ips-v6`; do ip6tables -I INPUT -p tcp -m multiport --dports http,https -s $i -j ACCEPT; done | |
| # Avoid racking up billing/attacks | |
| # WARNING: If you get attacked and CloudFlare drops you, your site(s) will be unreachable. | |
| iptables -A INPUT -p tcp -m multiport --dports http,https -j DROP |