• XSS.stack #1 – первый литературный журнал от юзеров форума

Умное управление несколькими строками одним поиском - ценная техника.

XSSer

RAID-массив
Забанен
Регистрация
06.10.2023
Сообщения
55
Реакции
8
Пожалуйста, обратите внимание, что пользователь заблокирован
Three years ago, I first learned about it, and I found it useful and could be applied for the benefit of our brothers and sisters here.



How to identify a group of women in society? They possess distinctive traits, both visually and biologically, which form the basis of their identity.


Как найти группу женщин в обществе? У них есть характерные черты, как визуальные, так и биологические, которые являются основой их идентификации.
 
Пожалуйста, обратите внимание, что пользователь заблокирован
1. Crypto$


Crafting regular expressions (regex) for different cryptocurrency addresses is essential for accurate validation. Let's delve into examples for Bitcoin (BTC), Litecoin (LTC), Dogecoin (DOGE), and Ethereum (ETH) addresses, each with its unique regex.

Bitcoin (BTC) - Legacy (P2PKH) Address:

  • Example: 1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa
  • Regex: ^1[1-9A-HJ-NP-Za-km-z]{25,34}$
  • Explanation: Asserts the start with '1,' followed by a character class allowing valid Base58 characters, ensuring a length range between 25 and 34 characters.
Litecoin (LTC) - Legacy (P2PKH) Address:

  • Example: LbY5vabNWTMCPEaPoQMBZqNQ4A5XGtKHTc
  • Regex: ^[LM3][a-km-zA-HJ-NP-Z1-9]{26,33}$
  • Explanation: Validates addresses starting with 'L' or 'M' and ensures the use of valid Base58 characters with a length ranging from 26 to 33 characters.
Dogecoin (DOGE) - Legacy (P2PKH) Address:

  • Example: DPT9Xst6jQQYk76BxMYLhtHc1YNYfr8UgP
  • Regex: ^[DB9][a-km-zA-HJ-NP-Z1-9]{33,34}$
  • Explanation: Ensures Dogecoin addresses begin with 'D' or 'B,' following the pattern of valid Base58 characters with a length ranging from 33 to 34 characters.
Ethereum (ETH) - Hexadecimal Private Key:

  • Example: 0x7E57E544F96D8E1E14CD4BEDAAA9A78D994F4BA4D2E228A4FB5352C654B266E1
  • Regex: ^0x[0-9a-fA-F]{64}$
  • Explanation: Matches a hexadecimal private key starting with '0x' followed by exactly 64 characters, covering both uppercase and lowercase letters.
These regex patterns offer robust validation for addresses across different cryptocurrencies, ensuring adherence to specific formats and lengths. Utilizing such regular expressions is crucial for developers working with cryptocurrency-related applications, providing a secure foundation for address validation in various blockchain networks.
 
Пожалуйста, обратите внимание, что пользователь заблокирован
TOOL SOFT
TOTAL COMMANDER
1707828929631.png



EMEDITOR
NPP+
1707828959816.png



Tool for testing various JavaScript methods with a combination of "regular expression" + "string":

A list of other tools for working with #regex



Regex for OSINT

A short list of services for those who read my Medium article about regular expressions:

Generators/constructors
Translators/analyzers
Search engines and OSINT tools with regex support
Cheatsheets
Courses
Libraries

Secret Regex List

List of regular expressions to search for API keys and other juicy info.

Useful when searching in public code repositories as well as when researching files on the computer/server that is your target.

 


Напишите ответ...
  • Вставить:
Прикрепить файлы
Верх