Open in app

Sign In

Write

Sign In

cr0hn
cr0hn

287 Followers

Home

About

Published in

Better Programming

·Updated Feb 6

Redis vs. KeyDB — My Performance Test and Conclusions

Is KeyDB faster than Redis? — KeyDB is a fork of Redis. KeyDB project claims that the Redis implementation approach is not correct and can be better, in terms of performance. KeyDB can run more than one thread, compared to Redis approach which only runs one. The KeyDB website claims that it’s faster than Redis. I…

Redis

4 min read

Redis vs. KeyDB — My Performance Test and Conclusions
Redis vs. KeyDB — My Performance Test and Conclusions
Redis

4 min read


Aug 29, 2022

Wonderful Python Libraries series Nº 2 :: Python Secure Secret Storage

Treat with sensitive information is a must. But every so often, it is not easy. Today we’ll review the secure secret manager and an easy way to use, a light way solution for some scenarios and local scripts. TL;DR What’s a Secure Secret Storage A vault is a secure storage for saving sensitive data, like passwords…

Python

2 min read

Wonderful Python Libraries series Nº 2 :: Python Secure Secret Storage
Wonderful Python Libraries series Nº 2 :: Python Secure Secret Storage
Python

2 min read


Aug 22, 2022

Efficient memory usage in Python with Zero-copy

Efficient memory usage in Python with Zero-copy Python has a lot of magic with memory under the hood and, in most cases, Inefficiently. A simple task that reads a file in chunks is inefficient if you don’t take some things in the count. Let’s say we have this code: The reading operation allocates 10 MB, and…

Python

1 min read

Efficient memory usage in Python with Zero-copy
Efficient memory usage in Python with Zero-copy
Python

1 min read


Aug 20, 2022

Wonderful Python Libraries series Nº 1 :: Prompt Toolkit

Today I start a new series of posts with my favorite Python libraries. I’ll share with you those that, I think, is most interesting. In this post, I’ll present the library: Prompt Toolkit. If you like CLI and terminals for writing your tools, You’ll like this library. https://python-prompt-toolkit.readthedocs.io/en/master/index.html This library, in a few words With Prompt…

Python

2 min read

Wonderful Python Libraries series Nº 1 :: Prompt Toolkit
Wonderful Python Libraries series Nº 1 :: Prompt Toolkit
Python

2 min read


Aug 12, 2022

Auto-generating Regular expressions from a wordlists with Python

Making regular expressions (REGEX) is sometimes an arduous task. If we need to create a REGEX that matches a set of words, we need to analyse them and include all the necessary conditions to match them. It’s very common in Web Apps, filters, or something else that has to match…

Python

1 min read

Auto-generating Regular expressions from a wordlists with Python
Auto-generating Regular expressions from a wordlists with Python
Python

1 min read


Aug 8, 2022

Measuring the performance of Python chunks in different environments

There are many libraries for measuring the performance of Python code. These tools are called profiling tools. Even the Python core library has its own, it’s a bit cumbersome to use it, and, usually, they were not created for living with our production code. Some examples are: timeit profile cprofile …

Python

3 min read

Measuring the performance of Python chunks in different environments
Measuring the performance of Python chunks in different environments
Python

3 min read


Aug 24, 2021

DevSecOps series No 4 — Protecting environment variables in the most well-known C.I. systems

In a C.I. / C.D. pipeline is very a common task to use environment variables as a way to store service credentials (like AWS Secret keys or database user/password). Most used and well-known automation systems have specific features to manage sensitive information. In this post, I’ll cover the four most…

Devsecops

3 min read

DevSecOps series №4 — Protecting environment variables in the most well-known C.I. systems
DevSecOps series №4 — Protecting environment variables in the most well-known C.I. systems
Devsecops

3 min read


Aug 21, 2021

DevSecOps series No 3 — Old-fashion issues in DevOps: Zip Bombs

Today I’ll talk about an old-new attack that can affect your production systems: a Zip bomb. This concept is not new. Following Wikipedia first time Zip Bomb concept was mentioned was in 2001. TL;DR The idea of the Zip bomb is very simple. An attacker can create a special version of…

Devsecops

4 min read

DevSecOps series No 3 — Old-fashion issues in DevOps: Zip Bombs.
DevSecOps series No 3 — Old-fashion issues in DevOps: Zip Bombs.
Devsecops

4 min read


Published in

Geek Culture

·Aug 4, 2021

DevSecOps series No. 2 — Automatic checking Dockerfiles for security

A lot of was written about Docker security and how to create secure Dockefiles. You can reach on Google about security tips and best practices. This is nice but still there’s a big problem to solve: how to automate the security checking. Steps for building a Docker image Create a docker image have two steps: Write…

Devsecops

3 min read

DevSecOps series No. 2 — Automatic checking Dockerfiles for security
DevSecOps series No. 2 — Automatic checking Dockerfiles for security
Devsecops

3 min read


Jul 31, 2021

DevSecOps series No. 1 — Breaking the CI/CD by using evil Git repositories

This is the first post of a serie about DevSecOps. We’ll discuss about (in)security in DevSecOps process. Today we’ll check security in building process when you need external GIT. GIT in the CI process Cloning GIT repositories is an usual task for a CI pipeline when you’re building artefacts. Some programming languages do more use…

Devsecops

2 min read

DevSecOps series No. 1 — Breaking the CI/CD by using evil Git repositories
DevSecOps series No. 1 — Breaking the CI/CD by using evil Git repositories
Devsecops

2 min read

cr0hn

cr0hn

287 Followers

REST API Cybersecurity and Hacking & Python Architect. +100 GitHub projects. Speaker

Following
  • Nassir Al-Khishman

    Nassir Al-Khishman

  • Omar Benbouazza

    Omar Benbouazza

  • Román Ramírez

    Román Ramírez

  • Pascual de Juan

    Pascual de Juan

  • Antonio Ramos

    Antonio Ramos

See all (92)

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech