It's an open secret that most of the time and costs spent on any serious software project are from maintenance.
#Rust is moving fast, and its ecosystem too, so it's necessary to automate your projects' maintenance
Here is how 👉 https://kerkour.com/rust-projects-maintenance-and-supply-chain-security
Here is how to build a Web Application with #Rust and #WebAssembly
https://kerkour.com/web-application-with-rust-and-webassembly
A lot of new readers recently joined us, so I thought it was the perfect moment to publish a short best-of of this past year's articles, in case you missed them :)
@jeancf Thanks 🙏
Monomorphization, Static vs Dynamic dispatch, Trait Objects...
Generics allow programmers to write less code and produce less bugs, but are not easy to grasp.
So here is the second part of my introduction to Rust generics:
https://kerkour.com/rust-generics-trait-objects
#Serverless has been pushed hard by the #cloud providers as a magical solution for all our problems
But this new paradigm is not a good fit for all kinds of workloads
Here is when Serverless really shines and when to avoid it: https://kerkour.com/when-to-use-serverless
Generics allow programmers to write less code by reusing functions, structures & traits and thus produce less bugs
But generic #programming can be hard to learn so here is the simplest introduction to Rust generics:
https://kerkour.com/rust-generics-traits
Malicious bots can cause a lot of damages to your websites whether it be stealing your content or scanning for vulnerabilities
Here is a very simple but extremely effective trick to defend against them: https://kerkour.com/zip-bomb
Tests are not meant to be manually run each time you write code. It would be a bad usage of your precious time as Rust takes a loooong time to compile
Here is how to automate your CI pipeline for #Rust projects: https://kerkour.com/rust-github-actions-ci-cd
🔔 Reminder: Just a few days left to benefit from the big discount on my book Black Hat Rust
The coupon code is: HAPPY2022
Get it now: https://kerkour.com/black-hat-rust-discount-happy-2022
#Rust #rustlang #programming #100DaysOfCode #hacking #crypto #cryptography
Typosquatting attacks are well-known, but there are attacks that are way more pernicious and that may provide better results
Bitsquatting attacks
Here is how it works and how to perform it using #rust
👉 https://kerkour.com/bitsquatting-attack-generator-in-rust
The most effective phishing attack I ever witnessed was not an email campaign. It was an evil twin attack. The success rate was in the order of 80%-90%
Here is how to perform it in practice with a #RaspberryPi and #Rust
https://kerkour.com/evil-twin-attack
Building a crawler in #Rust [6/6]
Nowadays, more and more websites use JavaScript framework to display their content which prevents basic data scraping.
Here is how to use a headless browser in Rust to crawl Single Page Applications (SPA)
https://kerkour.com/rust-crawler-javascript-single-page-application-headless-browser
Building a crawler in #Rust [6/6]
Nowadays, more and more websites use JavaScript framework to display their content which prevents basic data scraping.
Here is how to use a headless browser in Rust to crawl Single Page Applications (SPA)
https://kerkour.com/rust-crawler-javascript-single-page-application-headless-browser
When you want to maximize the uptime of your servers, you need a way to update the kernel to fix security vulnerabilities without having to reboot the machines.
So here is how to patch the Linux kernel without reboot with Ubuntu livepatch
https://kerkour.com/linux-update-kernel-without-reboot-with-ubuntu-livepatch
Life is too short to manually upgrade the packages of your machine twice a week, so here is how to automate the software updates of an Ubuntu server
https://kerkour.com/ubuntu-linux-automatic-updates-with-unattended-upgrades
A few weeks ago, I wrote: "I believe that Rust moves too fast" and "a programming language is a platform".
Some people raised good objections, so I thought it would be good to write a follow-up
Today is a good day so I decided to offer a big discount on my book Black Hat Rust for 1 week
https://kerkour.com/black-hat-rust-discount-happy-2022
#rust #rustlang #100DaysOfCode #Programming #code #cybersecurity #hacking
Over the decades, Humans have proved to be pretty bad at producing bug-free software
What if we could have an always available companion that would help us to avoid bugs in our software before they reach production?
Building a crawler in #Rust [4/6]
Now that we have a fast concurrent crawler in Rust, it's time to actually parse the HTML and turn it into structured data (remember, this process is called scraping).
📖 https://kerkour.com/rust-crawler-scraping-and-parsing-html
(Ab)using technology for fun & profit: Programming, Hacking & Entrepreneurship.
Author of http://kerkour.com/black-hat-rust
My weekly newsletter http://kerkour.com/subscribe