---
title: "Discussion on \"🎲 How To Generate Random Python Letters / Digits 🎲\" | Hashnode"
description: "Discussion on \"🎲 How To Generate Random Python Letters / Digits 🎲\". In python we have two modules we should learn for pentesting but also for coding purposes if we work with random values.\nExample Situation:\nMike wants to make requests with a PHPSESSID as cookie, otherwise Recaptcha/Cloudflare blocks him. He knows th..."
url: "https://hashnode.com/posts/how-to-generate-random-python-letters-digits/60aa9d6e20d1f45ceb7f03e3"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [🎲 How To Generate Random Python Letters / Digits 🎲](https://kushsah.hashnode.dev/how-to-generate-random-python-letters-digits?utm_source=hashnode&utm_medium=feed)

In python we have two modules we should learn for pentesting but also for coding purposes if we work with random values. Example Situation: Mike wants to make requests with a PHPSESSID as cookie, otherwise Recaptcha/Cloudflare blocks him. He knows th...

May 23, 2021 · 2 min read · kushsah.hashnode.dev  
Read the article

-   [#python](https://hashnode.com/tag/python)
-   [#technical-writing-1](https://hashnode.com/tag/technical-writing-1)
-   [#technology](https://hashnode.com/tag/technology)

## Written by

[kush sah](https://hashnode.com/@Kushsah)

@Kushsah · Delhi, india

  
[View profile](https://hashnode.com/@Kushsah)

Web,app developer

## Responses 3

Markdown supported · ⌘↵ to post

[ARHAM SHAFIQUE](https://hashnode.com/@iefgvdhgvdfvi)

[Nov 7, 2023](https://hashnode.com/posts/how-to-generate-random-python-letters-digits/60aa9d6e20d1f45ceb7f03e3/comment/654a13c03bfa7ae9e852011c)

Mike needs to send requests with a PHPSESSID cookie to bypass Recaptcha/Cloudflare blocks. To achieve this, he can either generate a random value for the PHPSESSID cookie with each request, ensuring it changes constantly, or he can use a permanent value for the PHPSESSID cookie, which would remain the same across multiple requests. This choice depends on his specific requirements and the system's tolerance for consistency in the PHPSESSID value. [ioniasports.com](https://ioniasports.com/)

[newmail here1](https://hashnode.com/@bransoning)

[Nov 11, 2022](https://hashnode.com/posts/how-to-generate-random-python-letters-digits/60aa9d6e20d1f45ceb7f03e3/comment/636e18f9aa5b3c15f172a1e6)

how to connect my shopify [store](https://worldapparelent.com/) with coding????

[Jaguar Asad](https://hashnode.com/@Tarynodell)

[Oct 26, 2022](https://hashnode.com/posts/how-to-generate-random-python-letters-digits/60aa9d6e20d1f45ceb7f03e3/comment/6358f52ef001c905d3bc646d)

How to connect a shopify store with python app
