Do It by Code
54 subscribers
713 photos
99 videos
14 files
1.24K links
We uhhhhh... do things by coding them.
Download Telegram
Forwarded from Go
The standard library of Go 1.23 now includes the new unique package. The purpose behind this package is to enable the canonicalization of comparable values. In other words, this package lets you deduplicate values so that they point to a single, canonical, unique copy, while efficiently managing the canonical copies under the hood. You might be familiar with this concept already, called “interning”.

Let’s dive in to see how it works, and why it’s useful.

https://go.dev/blog/unique
Smear phishing: not a new Android vulnerability
https://jameshfisher.com/2020/08/06/smear-phishing-how-to-scam-an-android-user/

> You can spoof an SMS sender id with a letter O instead of a zero 0 and it would be shown as a sender id in your contacts
A
Do It by Code
Photo
Language:
js


Code:
console.log(parseInt(0.0000005))


Output:
5
😁2
Yeah, this is a war crime
"animated QR code" for transferring data (still faster than our ISPs)
github.com/sz3/libcimbar
"Leaving Rust gamedev after 3 years":

https://loglog.games/blog/leaving-rust-gamedev/

This isn't meant to brag or indicate success, but rather just show there has been more than enough effort put into Rust, to dispel the the commonly said "once you gain enough experience it'll all make sense" argument.
Nix: Unsafe NAR unpacking

A bug in Nix 2.24 prior to 2.24.6 allows a substituter or malicious user to craft a NAR that, when unpacked by Nix, causes Nix to write to arbitrary file system locations to which the Nix process has access. This will be with root permissions when using the Nix daemon.

Fix
This issue is fixed in Nix 2.24.6.

GitHub, Article, Comments
Do It by Code
We Spent $20 to Achieve RCE and Accidentally Became the Admins of .MOBI Article, Comments
- The researchers accidentally gained control of the .MOBI domain registry by purchasing the expired domain dotmobiregistry.net for $20.
- By controlling the legacy WHOIS server at dotmobiregistry.net, they were able to intercept and respond to WHOIS queries for .MOBI domains, including from major Certificate Authorities.
- The researchers discovered a critical vulnerability in the phpWhois library that allows remote code execution by injecting malicious data into WHOIS responses.
- They also found a command injection vulnerability in the fail2ban security tool that could be exploited via malformed WHOIS responses.
- The researchers were able to use their control of the WHOIS server to provide rogue email addresses to Certificate Authorities, allowing them to obtain valid TLS/SSL certificates for .MOBI domains they did not own.
- This undermined the entire Certificate Authority validation process for the .MOBI top-level domain, putting secure communications at risk.
- The researchers found that their WHOIS server was receiving millions of queries from a wide range of internet infrastructure, including government, spam filtering, and antivirus systems.
- The researchers did not actually issue any rogue certificates, but demonstrated the ability to do so, highlighting a critical flaw in the TLS/SSL certificate issuance process.
- The researchers notified the NCSC and ShadowServer Foundation, who worked to mitigate the issue by sinkholing the dotmobiregistry.net domain.
- The researchers conclude that this incident exposes fundamental flaws in how internet infrastructure and security processes like WHOIS and Certificate Authorities operate, which could be exploited by well-resourced attackers.
masspoems4u (🟠 url)
Please open Telegram to view this post
VIEW IN TELEGRAM
Android now allows apps to block sideloading
Article, Comments
Do It by Code
Android now allows apps to block sideloading Article, Comments
Android will Block Apps Installed Outside the Play Store — Google rolls out Google Play Integrity API.

What does this mean? Developers will now be able to easily detect if you've installed an app from an unofficial source and block it, forcing you to install from the Play Store.

This new API could potentially put an end to ALL app mods. It's already being used by some games, and there will probably be more of them in the future.

Google is stabbing all Android freedom lovers in the back.
Credit: hitechdailynews
Что то новое под ZK...
Do It by Code pinned «Defusedxml – defusing XML bombs and other exploits Article, Comments»