netc0n
Members-
Content Count
6 -
Joined
-
Last visited
Everything posted by netc0n
-
I have the a pretty good connection to the internet from a Linksys USB adapter...the 20$ one. I'm not using it right now but if i plug it in a pick up a connection from someone else. I could get the internet for free if i wanted. Those Linksys usb adapters are pretty good on signal especially the more expensive 54g with speedbooster that is about 70$ new. I really hate routers because of the firewall. Even if i use port forwarding or just open up every port it doesn't matter...it still acts as an external firewall. Right now i two computers connected directly into the cable modem and it works best...just have one plugged in usb. But for wireless...you can just buy an excellent access point or something.
-
Hello, i thought this would be interesting since i haven't discussed Javascript in years. SSI(Server Side Includes) can be used for many interesting things...many of which deal with connection information and such. A few years ago i was working on something for the Counter-Strike Blacklist when it existed. It was a project i was making for a site called CS anti-hack Community. This was going to be an all web-based security project to basically not allow any IP currently on the blacklist to preceed to any site that wanted to be a part the anti-hack community. Well i was pretty much finished with the basis of it and i had it up and running..but soon after CS Blacklist went inactive and was no longer in use. But I will show an example of what i used to block certain specified IPs from a web page. Yes this is my code but its not like i invented the stuff...so i share with you 1First we must start with the basic Javascript script beginning :: <script LANGUAGE="JavaScript"><--AHM Guard BY AHMC--><--Begin 2We begin the script with the variable which is the Remote Address of the the computer that visits the page, then using 'IF' to apply that if the following addresses visit the page that the trigger will be activated :*note that these IP addresses are examples but actually were on the blacklist*) function ban(){var ip = '<!--#echo var="REMOTE_ADDR"-->';if (ip == "210.201.133.34" || ip == "80.32.11.34") { 3now comes the command that will happen if the address is on the ban list:: alert("!!!!!!!!!!!!!!!!!!!!!!!!Warning!!!!!!!!!!!!!!!!!!!!!!!!!\nYour ip address \("+ip+"\) Is on the CS BlackList");history.go(-1);window.location.replace("http://forums.xisto.com/no_longer_exists/; Obviously these gives an alert window and redirects you to the Old CS blacklist site.And now right after that script you can enter in another that will be the outcome if the remote address is not on the list:: <script LANGUAGE="JavaScript"><--Part of AHM Guard--><--Beginvar ip = '<!--#echo var="REMOTE_ADDR"-->';alert("IP Was Scanned Clean\n " +ip);End--//></script> Well, maybe someone will find that useful....SSI with javascript can be fun to fool around with and get ideas from. Thanks, netc0n Notice from twitch: In the future, can you place all script/code related examples into the [ code ] tags. It helps differentiate between content and example.
-
Pictures Of My New Computer - I Just Built
netc0n replied to Nick Erwin's topic in Hardware Workshop
I computer is great overall. I always go with intel processors....and sometimes ati, sometimes nvidia at the graphics accelerator position. Personally i would not go with windows xp, but that is mostly just my preference. It would probably show better performance with windows 2000 professional. -
Forget a google toolbar, and stay clear of the google desktop for sure. Its all just to spy on you anyway.
-
Hello, I didn't see a tutorial on this subject so i'll go ahead and do it. Long ago I used batch file programming a quite a bit. I used vbscript files to get user input for the batch files. So here is a simple example of using the 'call' command to call for the vbscript file which should be in the same folder as the .bat file. in the batch file pretty much anywhere you can start the vbscript, and call another .bat file- using @ to of course not echo the line of code - @ start /w wscript.exe userin.vbs @ call ~anyname.bat @ del ~anyname.bat now for the .vbs file : create userin.vbs using a text editor such as notepad - strUserIn = InputBox("This is the the input box will say") Set fs = CreateObject("Scripting.FileSystemObject") strFileName = fs.BuildPath(Wscript.ScriptFullName & "\..", "~anyname.bat") strFileName = fs.GetAbsolutePathName(strFileName) Set ts = fs.OpenTextFile(strFileName, 2, True) ts.WriteLine "set userin=" & strUserIn ts.Close[code]Now we use what ever was typed in to execute a command.So any dos/batch command that makes sense will fit there[code]@ Batch/doscommand -A %USERIN% And that is the basic idea of using vbs for batch files.