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:

What have we done? You’ve deleted the file that . . . → 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):

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

Now let’s create a .bat file:

You will need to replace 127.0.0.1 with the ip of the server you want to copy the config settings to.  The second part using adsutil2.vbs is used to add addtional host headers to site names

. . . → 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:

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 your external IP to the . . . → 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