Posts

Showing posts with the label windows

wireshark ssh remote connect on linux server

Image
First, install the optional component from Tools  section of Wireshark installer Then, select config gear of the SSH remote capture  from the welcome screen Configure the following information:           Server ip/hostname and port     Remote user name and private rsa key in OpenSSH format (use puttygen > conversions > export openssh key)  (user and password should work too) You shouldn't have to change anything in Capture tab If you get an error linked to Kex algos: Error by extcap pipe:  ** (sshdump.exe:8216): WARNING **: Error creating connection. ** (sshdump.exe:8216): WARNING **: Connection error: kex error : no match for method kex algos: server [curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512,diffie-hellman-group14-sha256], client [diffie-hellman-group14-sha1,diffi...

Shortcut to open the focused Window's menu when Launchy has been registered to ALT+SPACE hotkey

Simply press WINDOWS KEY+ALT+SPACE :-)

Update Environment Variable in IIS Process

If you've updated your environment variables and want to reflect your changes in an IIS process or app pool, e.g. the php process, use the command iisreset.  Using the GUI to restart the process wont work as expected. #1

Use physical drive into virtualbox

Find the number of your physical hard drive using Manage computer > Disk Management (the disks are ordered) Run the following command (changing the physical drive number and the path where to create the vmdk) : VBoxManage internalcommands createrawvmdk -filename C:\usb.vmdk -rawdisk \\.\PhysicalDrive1 Attach the vmdk file to your Virtual Machine. If you get the error message : VERR_ACCESS_DENIED you may need to take the disk offline and set the readonly attribute to False (could be done using the Diskpart command-line utility) #1   #2

Windows firewall rules not allowing a program located under your user profile path

Image
If you use the file browser dialog when allowing a program through the Windows' firewall, part of the file's path could be automaticaly replaced by %USERPROFILE% if the file is located under your personal folder, for example, on your desktop. The rule you've just added in the firewall will, in this case, simply NOT work... Copy paste the full path (C:\Users\YourName\...) instead of %USERPROFILE% in the text field and it should do the trick.

BSOD : Stop 0x0000006B PROCESS1_INITIALIZATION_FAILED (caused by bootcat.cache)

If you get a BSOD on your Windows 7 system with the following error code : 0x0000006B, the problem could be caused by a corrupted bootcat.cache file (normal file's size is ~6MB and on a corrupted system the file is around ~14kb). A workaround is to boot on a live system (linux, Windows repair, ...), delete the corrupted bootcat.cache file (in  %SystemRoot%\system32\codeintegrity ), copy it from a working copy (downloaded from internet, taken from a healthy system, ...) and reboot your computer on Windows session. Once logged in as an administrator, edit asap the bootcat.cache 's properties (if the file size is already around 14kb, you have to restart the procedure) and set the file as readonly. This should do the trick... #1 #2

Workaround for not visible Windows updates

If you are facing problem with available updates for Windows but not visible in the updates selection panel of the Windows Update window, here is a workaround : Simply launch the task manager and kill explorer.exe , then run it again with File menu > New Task (Run...) > explorer Your updates should now be visible. #1

Hex Edit Windows 7 SAM file to enable Administrator Account

It could happen that your were connected to a Windows Domain and that you've decided to leave this domain. What about if all local users are disabled? You cannot join anew a Windows Domain as you don't own any local user able to connect in order to join the domain. You can still start your computer and see the login screen but you will definitely stay a click away from your desktop... Hopefully, there is a bunch of tools allowing you to enable anew the Administrator account and even reset the password : link1 link2 link3 ... (Simply search "offline windows password change" on Google) But in my case, editing the SAM file on another computer simply didn't work and I didn't want to burn a CD or corrupt my multiboot usbkey. So I've booted on Lubuntu already installed on my usbkey and decided to hex edit the file. Later on, I've found a linux tool called chntpw that could be installed on my live lubuntu distro and could do the trick, but I...

Use WebDav on Windows 7

WebDav isn't supported anymore on Windows since Windows 7. I've tried BitKinex that is working fine but I didn't find any option to map a network drive to my WebDav share. I'm now using DirectNet Drive . You can map a network drive to a server using the major network protocols (ftp, sftp, WebDav). There is some drawbacks inherent to the fact that you are using files over the network, but this is running quite smoothly...