Saturday, February 27, 2010

Attack_Simulation_and_Threat_Modeling

Attack Simulation and Threat Modeling.

I got this off google's html cache. since the main site is bogged down.(too many users downloading this doc) It's a pretty good read.

enjoy.

RapidShare Link:

http://rapidshare.com/files/370085717/Attack_Simulation_and_Threat_Modeling.zip.html
MD5: C1A1E731E1FBF67516D20242355D0218

Friday, February 26, 2010

Proxychains 3.1 on OpenBSD 4.6

Proxychains - Great tool for tor'ing.

Patch introduced on the misc-openbsd instructed me on getting the freebsd version of the patch.

FreeBSD patch Link:
http://www.freebsd.org/cgi/cvsweb.cgi/~checkout~/ports/net/proxychains/files/patch-proxychains-libproxychains.c?rev=1.1;content-type=text%2Fplain

I tried to build it but no dice. After messing around with it. I got a working patch: please see below.

--- proxychains/libproxychains.c.orig Wed Mar 15 18:16:59 2006
+++ proxychains/libproxychains.c Sun Dec 10 01:16:37 2006
@@ -160,7 +160,7 @@

if(!(file=fopen("./proxychains.conf","r")))
if(!(file=fopen(buff,"r")))
- if(!(file=fopen("/etc/proxychains.conf","r")))
+ if(!(file=fopen("/etc/proxychains.conf","r")))
{
perror("Can't locate proxychains.conf");
exit(1);
@@ -290,8 +290,8 @@

int getnameinfo (const struct sockaddr * sa,
socklen_t salen, char * host,
- socklen_t hostlen, char * serv,
- socklen_t servlen, unsigned int flags)
+ size_t hostlen, char * serv,
+ size_t servlen, int flags)
{
int ret = 0;
if(!init_l)


Apply patch and build it.

./configure --prefix=/usr/local <-- prefix location needs to be specified.
gmake
sudo gmake install

patch is tested on openbsd 4.6(stable) and proxychains 3.1