Search This Blog

Loading...

Thursday, April 16, 2009

Batch File "OpenPorts.bat"

@ECHO OFF
REM ----------------------------------------------------------
REM Author: Peter Koshakji
REM Date: 04/16/2009
REM Filename: NetStat.bat
REM Skill Level: Beginner
REM Duty: Output All open ports and protocols to open-ports.txt
REM ----------------------------------------------------------
REM Instructions:
REM - Create a file OpenPorts.bat copy content
REM - In the console, navigate to the file location
REM - Execute the script: OpenPorts.bat

NETSTAT -ano > open-ports.txt
PAUSE

Friday, April 10, 2009

Memory Testing Opensource

The following step-by-step tutorial outlines the process to Test Physical Memory in a Desktop Computer.

** NOTE: Please use this knowledge with great responsibility.

Step 1: Download the Memtest86+.
Click here to download.

Step 2: Uncompress the Zip File to extract the ISO Image.

Step 3: Use a burning program to burn the ISO to Disk.
Click here to download IMGBURN

Step 4: Load CD Burned in step 2 to the Computer you need the info from.

Step 5: Start the computer and boot off of the CDROM.
** Note: Most BIOS' allow you to hit F12 or Escape to Select Boot Item

Step 6: The Computer will Run the Tool Automatically

Step 7: During the process, the application will outline all successful attempts at the Memory.

Step 8: Once satisfied with the results, shutdown the computer by pressing and holding the power button.

Step 9: Eject the CD to boot up normally.


Obtain XP/2000 Passwords

This article outlines the process to obtain all usernames and passwords used to login to a system locally. This article will work with the following operating systems:

- Windows 2000
- Windows XP
- Windows 2003

** NOTE: Please use this knowledge with great responsibility.

Step 1: Download the Latest Ophcrack ISO:
Click here to download Ophcrack

Step 2: Use a burning program to burn the ISO to Disk.
Click here to download IMGBURN

Step 3: Load CD Burned in step 2 to the Computer you need the info from.

Step 4: Start the computer and boot off of the CDROM.
** Note: Most BIOS' allow you to hit F12 or Escape to Select Boot Item

Step 5: The Computer will Run Ophcrack Automatically

Step 6: After 10 - 15 Minutes, the usernames and passwords for the local system are shown. Note them down on a piece of paper.

Step 7: Shutdown the computer by clicking exit.

Step 8: Eject the CD and boot up normally.

Step 9: Login using the username and password of choice.

Step 10: Secure the Paper with the login usernames and passwords.


VBS File "HelloWorld.vbs"

' ----------------------------------------------------------
' Author: Peter Koshakji
' Date: 04/08/2009
' Filename: HelloWorld.vbs
' Skill Level: Beginner
' Duty: Output hello world to a Dialog Box.
' ----------------------------------------------------------
' Instructions:
' - Create a file HelloWorld.vbs copy content
' - In the console, navigate to the file location
' - Double click the script: HelloWorld.vbs

msgbox "Hello World from VBS"

Batch File "HelloWorld.bat"

@ECHO OFF
REM ----------------------------------------------------------
REM Author: Peter Koshakji
REM Date: 04/08/2009
REM Filename: HelloWorld.bat
REM Skill Level: Beginner
REM Duty: Output hello world to a Dialog Box.
REM ----------------------------------------------------------
REM Instructions:
REM - Create a file HelloWorld.bat copy content
REM - In the console, navigate to the file location
REM - Execute the script: HelloWorld.bat

ECHO "Hello World From Windows Batch File"
PAUSE

Thursday, April 9, 2009

TCL "HelloWin.tcl" Dialog Box

#!/usr/bin/wish
# Author: Peter Koshakji
# Date: 04/08/2009
# Filename: HelloWin.tcl
# Skill Level: Beginner
# Duty: Output hello world to a Dialog Box.
#
# Instructions:
# - Create a file Hello.tcl copy content
# - In a console, navigate to the file location
# - chmod 777 HelloWin.tcl
# - Execute the script: ./HelloWin.tcl

tk_messageBox -message "Hello World from TCL" -title "Hello"

TCL "Hello.tcl" Terminal

#!/usr/bin/tcsh
# Author: Peter Koshakji
# Date: 04/08/2009
# Filename: Hello.tcl
# Skill Level: Beginner
# Duty: Output hello world to the terminal console.
#
# Instructions:
# - Create a file Hello.tcl copy content
# - In a console, navigate to the file location
# - chmod 777 Hello.tcl
# - Execute the script: ./Hello.tcl

puts "Hello World from the TCL Shell"