Shell Scripting Archives - 7ASecurity Blog https://7asecurity.com/blog/ Helping you secure apps and websites Tue, 25 Mar 2025 13:17:05 +0000 en-US hourly 1 https://7asecurity.com/blog/contents/uploads/2019/06/favicon.ico Shell Scripting Archives - 7ASecurity Blog https://7asecurity.com/blog/ 32 32 Backtrack 5 Shell Script to Change the Ruby Environment automatically https://7asecurity.com/blog/2011/10/backtrack-5-shell-script-to-change-ruby/ Fri, 07 Oct 2011 21:06:00 +0000 NOTE: I also posted this to the BeEF Project Wiki Click to explore Some Backtrack 5 security tools need ruby 1.8 (i.e. whatweb) and others ruby 1.9.2 (i.e. BeEF). This script automates the switch. By setting the ruby environment to the correct ruby version we can run all tools. This script aims to make this …

The post Backtrack 5 Shell Script to Change the Ruby Environment automatically appeared first on 7ASecurity Blog.

]]>
iptables: white-listing TCP connections to reduce self-0wnage potential https://7asecurity.com/blog/2011/04/iptables-white-listing-tcp-connections/ Fri, 01 Apr 2011 04:20:00 +0000 NOTE: This will work in backtrack, ubuntu and pretty much any Linux distro as far as I know There are times where you would like to open a service to the internet and it is ok to only allow one host/IP address to connect to you, for example: – Host-to-host transactions – During a pentest …

The post iptables: white-listing TCP connections to reduce self-0wnage potential appeared first on 7ASecurity Blog.

]]>
Migitating ISP disruption https://7asecurity.com/blog/2010/12/migitating-isp-disruption/ https://7asecurity.com/blog/2010/12/migitating-isp-disruption/#comments Fri, 17 Dec 2010 06:26:00 +0000 The problem There was an unexpected challenge to put together the security weekly news last night: My ISP mistakenly thought I had not paid my bills last month and decided to disrupt my web browsing experience by displaying a web page that said something like “information page … you have not paid x,y,z .. to …

The post Migitating ISP disruption appeared first on 7ASecurity Blog.

]]>
https://7asecurity.com/blog/2010/12/migitating-isp-disruption/feed/ 1