Reset Mac OSX User Password Without CD disk from command line

Forgot your mac admin password? Just want root?

This works on mac OS X Tiger – Snow Leopard

Reboot your mac When you hear the chime, Hold apple + s (this puts you in single user mode) Upon reaching the terminal prompt input the following:

mount -uw / rm /var/db/.AppleSetupDone shutdown -r now

What have . . . → Read More: Reset Mac OSX User Password Without CD disk from command line

Redmine Alert on New Admin or Public Project

Problem: How can I receive an email when the Redmine admin list changes or a project is changed to publicly viewable? You will need to run some mysql commands / queries in windows batch mode.

Solution:

Download blat and place in c:\windows\system32 Create directory c:\1admin and place these files in it:

These are the queries . . . → Read More: Redmine Alert on New Admin or Public Project

Howto: server 2003 list all local groups users shared folders permissions

You’ll need an app called Srvcheck.exe: Server Share Check.

This can be obtained with the Windows Server 2003 Resource Kit Tools

At an administrator command prompt run (in directory where srvcheck.exe is located):

srvcheck \\server-name

obviously replace “server-name” with whatever machine you want the list the user/groups/shares for

Howto: Migrate IIS Sites to Another Server

First you need to install the  IIS 6.0 Migration Tool

For each Web site and virtual directory on the source server, you must create a corresponding Web site and virtual directory on the target server. Later in the migration process, you will copy the content into these Web sites and virtual directories. Create the Web . . . → Read More: Howto: Migrate IIS Sites to Another Server

Ports Used by Windows File Sharing on a Network?

Do you need Microsoft File sharing like \\servername\path to work and it just won’t?

Try this from command prompt:

telnet servername (port) Example: telnet servername 137

If a black screen appears then the port is open (this is for TCP)

If you get an error then ask your firewall team to allow connections from . . . → Read More: Ports Used by Windows File Sharing on a Network?

Howto: Fix Microsoft IIS Internal IP Address Disclosure Vulnerability With Scripts

What is  IP Address Disclosure?

It is usually a bullshit “vulnerability” that firms will mention if they can’t find anything else to report

http://www.securityfocus.com/bid/1499/discuss

How do you fix it without wasting 10 years of your time?

First, we need to find out the site IDs for all the websites on a given windows server (i . . . → Read More: Howto: Fix Microsoft IIS Internal IP Address Disclosure Vulnerability With Scripts