Skip to content

Libcrack Posts

A brief analysis of Python testing software

In this post I’m going to talk about Python and testing. Testing is a very important part in the development process.
Usually, when a programmer writes some source code, he/she should spend a bit of time documenting and programming unit tests for the just-created piece of code, but as It is known, this not happends very much.

The lack of documentation can be a big stone in the way to succeed and finish a software proyect on time, but the lack of product testing (unit testing, func testing, regressive testing, etc) points the project to the worse future.

If you like the project management subjects related to the software development, I recommend you to read the book Debugging the Development Process, by Steve Maguire.

Here, the list of the most used/known python testing tools and source code analyzers (for python).

FreeBSD tcsh notes

There there are some notes/tricks about tcsh.

To set a nice tcsh prompt, try the following:
[shell]
set prompt = "%{\033[0;1;37m%}%n%{\033[0;1;31m%}@%{\033[0;1;37m%}%m%{\033[0;1;33m%}:%{\033[0;1;32m%}%b%/%{\033[0;1;0m%} %# "
[/shell]

Some usefull alias to include in our ~/.tcshrc
[shell]
alias wifilist "(ifconfig ath0_wlan0 list scan | sort -rnk 5 | grep -v BSSID)"
alias sniff-vpn tcpdump ‘-U -n -l -t -i ovpnc1 "$*"’
alias sniff-wifi tcpdump ‘-U -n -l -t -i ath0_wlan0 "$*"’
alias sniff-fw tcpdump ‘-n -l -t -i pflog0 "$*"’
[/shell]

Zeroshell beta16 scripts

Here, some usefull zeroshell scripts.

As I said in my previus posts, ZeroShell is a Linux distribution for servers and embedded devices aimed at providing the main network services a LAN requires. It is available in the form of Live CD or Compact Flash image and you can configure and administer it using your web browser.

There there are some usefull scripts that will help you working with zeroshell.

Zeroshell beta16 tricks

In this post I’m going to write about ZeroShell Net Services. This network-oriented linux distribution is highly modificable, and by default includes a lot of nice features like web interface, DNS bind server, radius, ldap, captive portal, QoS, HTTP proxy, VPN, PPPoE, NTP, DynDNS, etc. Also wireless atheros support is ennabled by default (and madwifi drivers already patched to inject!).
An important point is the ZeroShell community, which is quite active. You can check the users forums, as it got daily traffic.

Cyanogenmod.com malware spreading

The website Cyanogenmod.com has been compromised, and was spreading a piece of malware loaded from warlikedisobey.org/coehegzxw8xgahtrb, hosted on Indo Network Solutions, Scranton, Pennsylvania (USA) (66.197.158.102)

Whois info for 66.197.158.102

[text]
IP Information – 66.197.158.102

IP address: 66.197.158.102
Reverse DNS: static-ip-102-158-197-66.host.cybernet.co.id.
ASN: 21788
ASN Name: NOC
IP range connectivity: 7
Registrar (per ASN): ARIN
Country (per IP registrar): US [United States]
Country Currency: USD [United States Dollars]
Country IP Range: 66.197.0.0 to 66.197.255.255
Country fraud profile: Normal
City (per outside source): Reno, Nevada
Country (per outside source): US [United States]
Private (internal) IP? No
IP address registrar: whois.arin.net
Known Proxy? No
[/text]

If we query on urlquery.net for the URL, we can see that this server has been used since 2011-09-27 to spread malware on multiple domains hosted.