@repo_science · Post #3058 · 13.04.2023 г., 13:30
#hackingEtico 🛠️ All in One Hacking tool For Hackers🥇 👩💻: Hardik Zinzuvadiya ⭐️: 7.9k 🧮 1.3k 🔗Link ----- Canal principal: @repo_science Cupones: @freecoupons_reposcience -----
Hashtags
TGINSIGHT SIMILAR POSTS
Изворен канал @pythonotes · Post #146 · 16 сеп.
Функция sub в regex может принимать функцию в качестве аргумента repl. 📄 Из документации: If repl is a function, it is called for every non-overlapping occurrence of pattern. The function takes a single match object argument, and returns the replacement string. То есть для каждого совпадения будет вызвана функция для вычисления замены вместо замены на одну и ту же строку для всех совпадений. Иными словами, для замены разных совпадений на разные строки не потребуется запускать re.sub() много раз для каждой строки замены. Достаточно определить функцию, которая вернёт строку для каждого из совпадений. Описание слишком запутанное🤔, давайте лучше рассмотрим на простом примере: Создаем карту замены. То есть какие строки на какие требуется менять. remap = { 'раз': '1', 'два': '2', 'три': '3', 'четыре': '4', 'пять': '5', } Пишем функцию поиска строки для замены. Единственным аргументом будет объект re.Match. Используя данные этого объекта мы вычисляем замену on-the-fly! def get_str(match: re.Match): word = match.group(1) return remap.get(word.lower()) or word Пример текста. text = '''Раз Два Три Четыре Пять Вместе будем мы считать Пять Четыре Три Два Раз Мы считать научим вас ''' Теперь запускаем re.sub и вместо строки замены (repl) подаём имя функции. (Данный паттерн ищет отдельные слова в тексте) >>> print(re.sub(r'(\w+)', get_str, text)) 1 2 3 4 5 Вместе будем мы считать 5 4 3 2 1 Мы считать научим вас Думаю, достаточно наглядно 🤓 #libs#regex
Пребарај: #hackingetico
@repo_science · Post #3058 · 13.04.2023 г., 13:30
#hackingEtico 🛠️ All in One Hacking tool For Hackers🥇 👩💻: Hardik Zinzuvadiya ⭐️: 7.9k 🧮 1.3k 🔗Link ----- Canal principal: @repo_science Cupones: @freecoupons_reposcience -----
Hashtags
@repo_science · Post #3056 · 13.04.2023 г., 13:26
#hackingEtico 🛠️ yeswehack/vulnerable-code-snippets YesWeHack present code snippets containing several different vulnerabilities to practice your code analysis. The code snippets are beginner friendly but suitable for all levels! Twitter vulnerable snippets 👩💻: Yes We Hack yeswehack ⭐️: 229 🧮 15 🔗Link ----- Canal principal: @repo_science Cupones: @freecoupons_reposcience -----
Hashtags
@repo_science · Post #3048 · 12.04.2023 г., 15:45
#hackingEtico 👩💻 Web Security & Bug Bounty: Learn Penetration Testing in 2023 Become a bug bounty hunter! Learn to hack websites, fix vulnerabilities, and improve web security online for clients. 🌟 4.6 - 1216 votes 🗣️ Andrei Neagoie, Aleksa Tamburkovski 🔗Link ----- Canal principal:@repo_science Cupones:@freecoupons_reposcience -----
Hashtags
@repo_science · Post #3047 · 12.04.2023 г., 15:42
#hackingEtico 👩💻 The Complete Ethical Hacking Course Protect yourself from hackers & cyberattacks. Learn penetration testing + build security and coding tools with Python. 🌟 4.5 - 2732 votes 🗣️ Codestars by Rob Percival, Atil Samancioglu 🔗Link ----- Canal principal: @repo_science Cupones: @freecoupons_reposcience -----
Hashtags
@repo_science · Post #3045 · 12.04.2023 г., 15:37
#hackingEtico 👩💻 Complete Ethical Hacking Bootcamp 2021: Zero to Mastery Learn Ethical Hacking + Penetration Testing from scratch and master the most modern ethical hacking tools and best practices for 2021! You will practice real techniques used by black hat hackers, then learn to defend against them. ⏱ 26 Hours 📦 232 Lessons 🗣️: Andrei Neagoie & Aleksa Tamburkovski 🔗Link ----- Canal principal: @repo_science Cupones: @freecoupons_reposcience -----
Hashtags
@repo_science · Post #3063 · 15.04.2023 г., 16:45
#Python#HackingEtico 👨🏾💻 Python Ethical Hacking MASTERCLASS: Zero to Mastery Discover the secrets of ethical hacking with Python: coding essentials, password cracking, penetration testing and MORE! ⭐️4.8 🌐En 🔗Link ----- Canal principal: @repo_science Cupones: @freecoupons_reposcience -----
Hashtags
@repo_science · Post #3053 · 13.04.2023 г., 13:02
#hackingEtico#kaliLinux 👩💻 Kali Linux: Start Your Ethical Hacking Career with Kali Kali Linux tutorial. Learn Kali Linux from experts, start your ethical hacking journey with my Kali Linux course 🌟 4.9 - 136 votes 🗣️: Muharrem AYDIN, Fatih YILMAZ 🔗Link ----- Canal principal: @repo_science Cupones: @freecoupons_reposcience -----
Hashtags
@repo_science · Post #3052 · 13.04.2023 г., 12:58
#hackingEtico#android 👩💻 Android Hacking: Ethical Hacking for Android Apps & Devices Android hack| Hacking Android, Android penetration testing, App hacking, Android Ethical Hacking for Android apps&device 🌟 4.4 - 219 votes 🗣️: Muharrem AYDIN, Fatih YILMAZ 🔗Link ----- Canal principal: @repo_science Cupones: @freecoupons_reposcience -----
Hashtags
@repo_science · Post #3044 · 12.04.2023 г., 15:34
#hackingEtico 👨🏾💻 El #hacking#ético es una práctica que consiste en evadir la seguridad de un sistema informático con el objetivo de identificar las posibles vulneraciones y amenazas que existen en la red. Si quieres aprender más sobre #hackingEtico accede a estos materiales👇 📦Cursos 1-Complete Ethical Hacking Bootcamp 2-Web Security & Bug Bounty 3-The Complete Ethical Hacking Course 4-Android Hacking: Ethical Hacking for Android Apps & Devices 5-Kali Linux: Start Your Ethical Hacking Career with Kali 6-Python Ethical Hacking MASTERCLASS: Zero to Mastery ----- Canal principal: @repo_science Cupones: @freecoupons_reposcience -----
Hashtags
@repo_science · Post #3055 · 13.04.2023 г., 13:21
#hackingEtico#hacking_tool#toolkit 🛠️ AzeemIdrisi/PhoneSploit-Pro An all-in-one hacking tool to remotely exploit Android devices using ADB and Metasploit-Framework to get a Meterpreter session. 👩💻Mohd Azeem ⭐️ 457 🧮 70 🔗Link ----- Canal principal: @repo_science Cupones: @freecoupons_reposcience -----