The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My badges

  • Twitter Updates

  • My Flickr Stream

  • Pages

  • All categories

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 1,861 other subscribers

Archive for the ‘Windows’ Category

NTCore: interesting site about about system internals and software security

Posted by jpluimers on 2014/09/30

I recently bumped into the NTCore website by Daniel Pisti.

At a client without my own VMs, I wanted to create a DebugBreak like function in Delphi, which I remembered from my Turbo Pascal days to be something like Inline($CC). So searching for both Delphi and INT 3, I found an EXE injection page at NTCore.

In Delphi, you can do this with a procedure like this, which cannot be inlined because it has an asm block:

procedure DebugBreak();
asm
  int 3
end;

(Reminder to self: sort out what to do here to break on an iOS device; Xcode has an alternative)

The site has information about system internals and software security posted as articles until 2009,  when he switched to blog posts. Besides that, he has written a bunch of interesting articles at CodeProject. Read the rest of this entry »

Posted in Delphi, Development, Pascal, Power User, Software Development, Turbo Pascal, Windows, xCode/Mac/iPad/iPhone/iOS/cocoa | 3 Comments »

interesting: YUMI – Multiboot USB Creator that understands both Windows and Linux

Posted by jpluimers on 2014/09/15

Ever wanted to put all your Windows installs on a bootable USB stick, but also add some Linux functionality?

It looks like YUMI can do just that.

On my research list (:

–jeroen

via: YUMI – Multiboot USB Creator (Windows) | USB Pen Drive Linux.

Posted in *nix, Linux, Power User, SuSE Linux, Windows, Windows 7, Windows 8, Windows Server 2008, Windows Server 2008 R2, Windows Vista, Windows XP | Leave a Comment »

Boxstarter: quickly setup a machine with just a Gist

Posted by jpluimers on 2014/09/13

Interesting:

Quickly setup any machine with just a Gist – No Preinstalled software required

Want to setup your box without downloading any software or fussing with package authoring or publishing?

Well buckle up! [WayBack] Boxstarter makes this a snap!

Boxstarter makes it really easy to script things when you have a working internet connection.

The example script they show does a lot of things I normally configure by hand:

Set-WindowsExplorerOptions -EnableShowHiddenFilesFoldersDrives -EnableShowProtectedOSFiles -EnableShowFileExtensions
Enable-RemoteDesktop

cinst fiddler4
cinst git-credential-winstore
cinst console-devel
cinst sublimetext2
cinst poshgit
cinst dotpeek

Thanks Thomas Mueller for pointing me to this.

Boxstarter does all kind of neat things with NuGet and Chocolatey.

–jeroen

via

Posted in Power User, Windows | Leave a Comment »

Funny: Windows 7 BSOD and repair giving an “Unknown Bugcheck 50”

Posted by jpluimers on 2014/08/29

Had a funny error on one of my Windows 7 development VMs today: “Unknown Bugcheck: Bugcheck 50

I hadn’t used the VM for about 2 months, and left it in a suspended state. After resuming it got into a BSOD, booting would hang at the Windows logo, and a second boot would get into the Windows Startup Repair.

Startup Repair indicated it could not resolve the issue, offered a “Restore” (which I declined) then told me something like

Root cause found:
Unknown Bugcheck: Bugcheck 50. Parameters = 0xfffff880009aafb8, 0x0, 0xfffff8000347bc60, 0x0.

The solution was very simple: Read the rest of this entry »

Posted in Power User, Windows, Windows 7 | Leave a Comment »

Web requests and NTLM authentication in .NET

Posted by jpluimers on 2014/08/27

Some links on NTLM authentication in .NET that I’m sure that I will going to need sooner or later:

–jeroen

Posted in NTLM, Power User, Windows | Tagged: , | Leave a Comment »

Tracing NTLM (via: 407 Authentication required – no challenge sent – Stack Overflow)

Posted by jpluimers on 2014/08/26

Might need this one day:

I wrote a utility to decode the NTLM blobs that were sent in the IE and HttpWebRequest sessions.When I look at the HttpWebRequest and IE, they both request 56bit and 128bit encryption from the server.

In both IE/HttpWebRequest, they are requesting both 64 & 128bit security. However, for windows 7, 128bit security for NTLM has been made the default, and without that, authentication will fail. As you can see from the server response, the server is only supporting 64bit encryption.

–jeroen

via: c# – 407 Authentication required – no challenge sent – Stack Overflow.

Posted in NTLM, Power User, Windows | Leave a Comment »

NTLM authentication: Connect to TFS 2013 Git Repository with LibGit2Sharp (via: Gáspár Nagy on software)

Posted by jpluimers on 2014/08/26

I’m fighting some NTLM issues with a proxy server and this might come in handy one day: Connect to TFS 2013 Git Repository with LibGit2Sharp « Gáspár Nagy on software.

https://github.com/gasparnagy/Sample_NtlmGitTest/

–jeroen

 

Posted in .NET, C#, Development, NTLM, Power User, Software Development, Windows | Leave a Comment »

testing HTTPS with openssl « The Sarth Repository

Posted by jpluimers on 2014/08/22

Interesting:

openssl s_client -connect localhost:443

I don’t have a Linux machine here, but this might work too:

gnutls www.somesite

And note that when using telnet, the hostnames must match:

$ openssl s_client -connect XXX.XX.XX.XXX:443
... connection information will be displayed …
GET / HTTP/1.1
host: XXX.XX.XX.XXX

or

$ openssl s_client -connect www.example.com:443
... connection information will be displayed …
GET / HTTP/1.1
host: www.example.com

Don’t MIX

Now I need to research how it works with a proxy… simulate a “connect http/1.1 443” proxy – Google Search.

–jeroen

via:

Posted in OpenSSL, Power User, Security, Windows, Windows-Http-Proxy | Leave a Comment »

Windows 8.x: Three keyboard/mouse ways to zoom in or out on start screen (via: YouTube)

Posted by jpluimers on 2014/08/22

I love it that in Windows you can do everything both by mouse and keyboard.
Take the start screen: there are 3 ways (mouse only, mouse + keyboard, keyboard only) to zoom in/out in the start screen. Read the rest of this entry »

Posted in Keyboards and Keyboard Shortcuts, Power User, Usability, User Experience (ux), Windows, Windows 8 | Leave a Comment »

Windows: Where is my DropBox configuration?

Posted by jpluimers on 2014/08/18

Running DropBox on a roaming profile is a pain, especially when DropBox auto-starts.

Limitation: you can now use it on only 1 PC in the roaming profile domain at a time (I’ve not yet tried Open Source Software and Windows 32-bit: Multiple Dropbox (Do It Yourself).)

The reason is that depending on the logoff/logon order of machines, DropBox will overwrite parts of its configuration, and then think it needs to start with a fresh configuration.

Solution: Read the rest of this entry »

Posted in Power User, Windows, Windows 7, Windows 8, Windows Vista, Windows XP | Leave a Comment »