CurtisW's Windows XP Tips Page
1. How can I set the cache expiration date on an HTML file to, say, midnight of the day the page is first served?
Not possible. The expiration is set in the _http_ header and not the _HTML_ header. The browser is passed the expiration date and time - and it is upto the browser to do what it likes with this information. It cannot be done on the client side - as the browser (by now) has decided what it's going to do with the document.
Start Up to Blank Desktop, Boot up to blank desktop
| I found a fix for when booting Windows XP, the OS never fully loads up into Windows, and just sits there. The Fix is:
"robbieart24-May-2005, 01:43 AM This is the key that needs to be deleted... HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\explorer.exe HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\iexplorer.exe Once these keys are deleted the desktop and internet explorer should come back to life. Thank you whoever found this information and I hope this will be a benefit to someone else out there. Thanks."
|
|
Accessing Control Panel From DOS (cmd.exe) and other windows exploits
access.cpl -- Accessability Options
ALSNDMGR.CPL appwiz.cpl -- Add/Remove Applications bthprops.cpl desk.cpl -- Desktop Properties (change wallpapers and stuff) firewall.cpl -- Firewall Settings hdwwiz.cpl -- Add New Hardware inetcpl.cpl -- Internet Explorers Internet Options intl.cpl -- Regional & Language Options irprops.cpl javacpl.cpl -- Java Control Panel joy.cpl -- Game Controllers main.cpl -- Mouse Properties (funny they should call it main huh?) mmsys.cpl -- Sounds & Audio Devices Properties ncpa.cpl -- Network Connections netsetup.cpl -- Network Setup Wizard nusrmgr.cpl -- User Account Management nwc.cpl odbccp32.cpl -- ODBC Data Source Administrator powercfg.cpl -- Power Options Properties RTSndMgr.CPL -- Realtek Sound Manager sysdm.cpl -- System Properties telephon.cpl -- Dial-up Setup Wizard timedate.cpl -- Date & Time Properties wscui.cpl -- Security Center wuaucpl.cpl -- Automatic Updates there is a list of all your control panel programs, you may have more, you may have less. This article, which i'm still in the process of writing, will list what every cpl app does and how turning off your control panel doesn't necessarilly secure your system from users using the control panel apps. Basically, I listed what they are for the ones that will allow you to call them from the command line. Turning off your control panel does not get rid of access to these programs, it merely gets rid of the fancy interface that lists them. In order to get a listing of these icons, at the command prompt enter the following Windows 9x --
Code:
dir /w c:\windows\system\*.cpl Windows NT/2K/XP
Code:
dir /w c:\windows\system32\*.cpl this along with access to other applications on your system can increase your vulnerability. Console Registry Tool for Windows - version 3.0 -- Automatic Task Scheduler ( executes applications automatically as a system process )
Code:
at HH:mm /interactive cmd.exe exchange HH:mm with the military time for one minute after you enter the command.
Code:
at HH:mm /interactive explorer.exe after entering the command hit ctrl+alt+del and kill the explorer process
Code:
TSKILL processid | processname [/SERVER:servername] [/ID:sessionid | /A] [/V]
processid Process ID for the process to be terminated.
processname Process name to be terminated.
/SERVER:servername Server containing processID (default is current).
/ID or /A must be specified when using processname
and /SERVER
/ID:sessionid End process running under the specified session.
/A End process running under ALL sessions.
/V Display information about actions being performed.
tscon -- allows a user to open a command line as another user on the system Last edited by Mark; 12-05-2007 at 09:52 AM. |