Tuesday, May 14, 2013

RE: hey




http://china.tetratrans.ru/news_xml.php?bxbavql792mmrdvo









































































































n6ghost
Nex6|Bill
========================
Natural High: a hot shower on a cold morning. Natural Low: a hot shower if you're a lobster.
%

Monday, February 15, 2010

Twitter account

my Twitter account:


Name change

I have changed the name, of this Blog from Nex6, to Ghost6Shell. I also, have a matching twitter account. for now, the URL will
stay the same in nex6.blogspot.com




-Nex6

Sunday, December 27, 2009

Argotic Syndication Framework


for Dot NET devs: Argotic Syndication Framework
Damn good RSS framework.

Friday, October 23, 2009

Have not posted in a while

I have not posted in a while, I should be back shortly....

Wednesday, February 04, 2009

the really random password generator (Powershell)

ok,
 
Here is a powershell script I wrote awhile back. thought Id post it.  its a really random password generator:
 
$pwdlength = [int]
$pwdlength = Read-Host "please provide desired password length"
$bytes = [byte[]][byte]1
$pwd = [string]""
$rng = New-Object System.Security.Cryptography.RNGCryptoServiceProvider
for($i=1;$i -le $pwdlength;$i++)
{
 $rng.getbytes($bytes)
 $rnd = $bytes[0] -as [int]
 $int = ($rnd % 74) + 48
 $chr = $int -as [char]
 $pwd = $pwd + $chr
}
write $pwd
 
 
enjoy.  
 
 
maybe later, I will modify it to control special characters. or if someone wants to figure it out, I will repost the code.
 
 
 
-Nex6

using powershell to reslove a host name to IP

ok,
 
Here is the best part you'll need:
 
$rs = [System.Net.Dns]::GetHostAddresses($i)|select-object IPAddressToString -expandproperty  IPAddressToString
 
now, I wrote this and tested it using powershell v2 ctp3, and it should work on the Lower versions but have not tested it.
 
 
with that line, you will have just an IP address in the var, $rs. from there you can do other things and fancy stuff, all aglore.
 
 
the select statement cleans up the output of: [System.Net.Dns]::GetHostAddresses($i) otherwise the output is not really useable as the output is formated in its own colums, with outher propertys. the select-object strips everything out except the IP address.
 
 
-Nex6

Tuesday, February 03, 2009

Daemon, by Daniel Suarez

This book, Daemon, is really good. its a techo-thriller and if you like
cyber, and techo types of books this book is one for you.
 
-Nex6

Saturday, August 09, 2008

basic ruby script

I have been playing with Ruby, thought id post a basic hello world style script....


/code

#!/usr/bin/ruby


print "what do you want to print on screen:  "
str = gets
exit if str.nil? or str.empty?
str.chomp!

print "\n"
print str


/end code


-Nexus6



View blog authority