The Wiert Corner – irregular stream of stuff

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

  • My badges

  • Twitter Updates

  • Pages

  • All categories

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

    Join 1,854 other subscribers

IMAGE_FILE_HEADER (winnt.h) – Win32 apps | Microsoft Learn: IMAGE_FILE_UP_SYSTEM_ONLY flag (not what you think it means)

Posted by jpluimers on 2024/12/04

Need to write a tool for this that sets/clears the ………… flag in the PE .EXE header.

Officially it is for this:

[Wayback/Archive] IMAGE_FILE_HEADER (winnt.h) – Win32 apps | Microsoft Learn

IMAGE_FILE_UP_SYSTEM_ONLY
0x4000
The file should be run only on a uniprocessor computer.

In practice, this sets the affinity to 1 single CPU core (which is kind of random, and could change each time you start the executable).

This is ideal for code that is known for causing trouble executing on multiple cores, or – more importantly – to disallow core-switching for programs that give best performance when executed on a single core.

Via: [Wayback/Archive] Thread by @0gtweet on Thread Reader App – Did you ever hear about IMAGE_FILE_UP_SYSTEM_ONLY flag in NtHeader->FileHeader->Characteristics of an exe file?

Read the rest of this entry »

Posted in Development, Software Development, Windows Development | Leave a Comment »

Hijack Libs

Posted by jpluimers on 2024/12/04

Interesting for both red teams and blue teams: [Wayback/Archive] Hijack Libs

This project provides an curated list of DLL Hijacking candidates. A mapping between DLLs and vulnerable executables is kept and can be searched via this website. Additionally, further metadata such as resources provide more context.

Read the rest of this entry »

Posted in Blue team, Development, Power User, Red team, Security, Software Development, Windows Development | Leave a Comment »

Privacyverklaring | Mazda

Posted by jpluimers on 2024/12/03

Het gebruik van Bitly is netjes vermeld: [Wayback/Archive] Privacyverklaring | Mazda

Bitly: URL-verkortingsdienst en linkbeheerplatform; dienstverlener: Bitly, Inc, 139 Fifth Avenue, 5th Floor, New York, NY 10010, USA; website: https://bitly.com; privacybeleid: https://bitly.com/pages/privacy.

Dat is belangrijk, want URL-shorteners zijn een risico op bijvoorbeeld:

  • De daadwerkelijke doel-URL is niet op voorhand zichtbaar of duidelijk
  • De doel-URL kan achteraf worden gewijzigd, dus waar je nu op uitkomt is niet noodzakelijkerwijs waar je in de toekomst op uitkomt
  • Er kan user-tracking plaatsvinden op het niveau van de URL-shortener
  • Ze worden veel gebruikt om malware te verpreiden (juist ook omdat de doel-URL makkelijk aanpasbaar is)
  • In veel omgevingen worden URL-shorteners om bovenstaande redenen geblokkeerd

--jeroen

Posted in Development, GDPR/DS-GVO/AVG, LifeHacker, Power User, Privacy, Web Development | Leave a Comment »

Is it Pokémon or Big Data?

Posted by jpluimers on 2024/12/03

Fron a while ago but still relevant [Wayback/Archive] Is it Pokémon or Big Data?.

It is a cool experiment to test your own knowledge or for fun to assess recruiters or candidates (;

And it is open source too:

Read the rest of this entry »

Posted in Cloud, Cloud Development, Conference Topics, Conferences, Development, Event, Fun, Infrastructure, LifeHacker, PokemonGo, Power User, Software Development | Tagged: | Leave a Comment »

Useful physical keys

Posted by jpluimers on 2024/12/02

[Wayback/Archive] GUDuhFcXwAA3cqf.jpg (1200×900)

Read the rest of this entry »

Posted in Power User, Security | Leave a Comment »

Good Reddit thread regarding updating Tumbleweed: difference between zypper up (zypper update) and zypper dup (zypper dist-upgrade) repository priorities and more

Posted by jpluimers on 2024/12/02

Sometimes the best information is outside vendor forums. I think it is the case for this Reddit thread: [Wayback/Archive] Regarding updating Tumbleweed; what is the best way to do it? Appper, zypper dup, zypper up. Which one am i supposed to use? Should i be worried about the vendor changes? And why do i get a message when using ‘zypper up’ saying “The following 35 package updates will NOT be installed”? : openSUSE

Note that specific to openSuSE Tumbleweed you should prefer zypper distr-upgrade over zypper update as per [Wayback/Archive] TUMBLEWEED zypper dup default behavior changed: what is the difference to zypper up?

Be aware this thread is about Tumbleweed, the method to update is byusing dup since it’s a new snapshot. At this point it’s your choice toupdate or not depending on your requirements. If your running out ofkernel modules supplied by third parties, then your tied to theirschedule…. Using zypper up will in the long term create more issuesas well as not supported.

This is especially true as --no-allow-vendor-change has been the default for zypper dist-upgrade for almost a decade now: [Wayback/Archive] PSA: Tumbleweed: –no-allow-vendor-change now default zypper dup behaviour : openSUSE

Read the rest of this entry »

Posted in *nix, *nix-tools, Linux, openSuSE, Power User, SuSE Linux, Tumbleweed | Leave a Comment »

Reddit – PSA: Fast way to complete the “Use 10 super effective charged attacks” field research : TheSilphRoad

Posted by jpluimers on 2024/11/29

[Wayback/Archive] PSA: Fast way to complete the “Use 10 super effective charged attacks” field research : TheSilphRoad

TL;DR: Use a 1500 CP Poliwrath with Mud Shot and Power-Up Punch against Blanche in Great League, and don’t swipe any bubbles. Quest is done in 1 battle or 3 minutes.

This has been posted before when people were working on the 200 super effective charged moves for the level 43 quest, and I personally learned the trick from that post. But now that we have regular field research quests that reward Mega Energy for 10 SE charged moves, I figured it might be worth a repost.

What you need

A Poliwrath under 1500 CP, with fast move Mud Shot and charged move Power-Up Punch.

What you do

  1. Do a training battle with Blanche in Great League. This can be found at the bottom of the “Battle” tab.
  2. Use Poliwrath in the lead, followed by two random 1500 CP Pokemon. (Blanche always uses Sneasel, Sealeo and Snowy Castform.)
  3. In the battle, use a Power-Up Punch whenever it’s charged up.
  4. Do not swipe any bubbles during the charged move animation, until you already reached ~10 charged moves. This will ensure you do minimal damage (25% of the move’s actual power).
  5. Once you count to 9 or 10 charged moves, you can then swipe all bubbles to do full damage.

Without any bubbles, it typically takes 3-4 PuPs to kill Sneasel, 4-5 for Sealeo, and 4-5 for Castform. So I typically don’t swipe any bubbles against Sneasel and Sealeo, then swipe all or most bubbles against Castform (would take 2-3 PuPs to kill it). This works even if you’re not consciously keeping track of how many charged moves you’ve used.

Many alternatives are available, such as Medicham with Psycho Cut/Power-Up Punch against GL Blanche, Politoed with Mud Shot/Weather Ball against GL Candela, or a Mud Shot/Mud Bomb user (Whiscash, Marshtomp) against GL Candela.

(If someone wants to make a video of this, go ahead.)

Related:

--jeroen

Posted in PokemonGo, Power User | Leave a Comment »

Old xs4all stuff

Posted by jpluimers on 2024/11/29

In the past xs4all.nl had a shell server. In the shell you had a WWW directory which was the route of your personal web-site.

For instance, I had a file there in ~jp/WWW/route/route.html which was served at:

Almost 25 years after KPN bought xs4all, it switched off the shell servers and these links, so I was glad with this warning [Wayback/Archive] Koen de Jonge on Twitter: “Morgen stopt #kpn4all met het aanbieden van shellaccess. Wij willen dat met #Protagio ook gaan aanbieden. Wil je ook #shellacces houden, kijk dan snel op: … #eerlijkecloud”

Read the rest of this entry »

Posted in History, Internet, ISP, Power User, xs4all | Tagged: , , , , , , , , | Leave a Comment »

SCANSNAP iX100 SCANNER REPAIR MANUAL – PFU Ricoh Store

Posted by jpluimers on 2024/11/28

Ordered because all of a sudden, my scanner would only charge over USB, but not connect to any computer any more over USB (likekly because the Micro-USB connector on the mainboard was broken which is odd after just a few 100 inserts which is odd as it should last 10k+ cycles according to USB hardware – Wikipedia) [WaybackSave/Archive] SCANSNAP iX100 SCANNER REPAIR MANUAL – PFU Ricoh Store.

It costs only USB 0.00, so I hope they will send it outside of the USA.

When ordering, you have to agree with these:

When I don’t receive the manual, hopefully the translated version of this video will be of help: [WaybackSave/Archive] Reparación Scanner Fujitsu ScanSnap – Puerto De Carga Micro USB – YouTube -> Fujitsu ScanSnap Scanner Repair – Micro USB Charging Port – YouTube.

Como me pasa muchas veces esto grabe este video. Me piden que repare algo que ya intentaron reparar de la manera incorrecta.

->

As this happens to me many times, I recorded this video. I am asked to repair something that they already tried to repair incorrectly.

Queries:

--jeroen

Posted in Development, Fujitsu ScanSnap, Hardware, Hardware Development, ix100, Power User, Scanners | Leave a Comment »

Eric Reinhart on Twitter: “Yes, there is no intrinsic meaning or purpose in your life. This is difficult; it’s also the reason there’s possibility for you. The task of living is to invent meaning and purpose, and then invent it again. It’s work. Much of the time it’s painful. Sometimes, it’s also joy. 3/”/ Twitter

Posted by jpluimers on 2024/11/28

Food for thought: [Wayback/Archive] Eric Reinhart on Twitter: “Yes, there is no intrinsic meaning or purpose in your life. This is difficult; it’s also the reason there’s possibility for you. The task of living is to invent meaning and purpose, and then invent it again. It’s work. Much of the time it’s painful. Sometimes, it’s also joy. 3/”

The full thread is at [Wayback/Archive] Thread by @_Eric_Reinhart on Thread Reader App.

–jeroen

Posted in About, Conference Topics, Conferences, Event, Health, LifeHacker, Personal, Power User | Leave a Comment »