pip install faker
vim ~/faker_for_testing.py
Hit i
Paste these
pip install faker
vim ~/faker_for_testing.py
Hit i
Paste these
It's a shame to see all those nepal's government and ecommerce sites getting hacked. I'd like to call out all Pentesters out there that can at least share out some docs, links that could make our government systems secure. The purpose of this document to have a single source to eliminate overwhelming results from google. Security is very wide domain just like development. You should dedicate some hours to prevent from basic vulnerabilities if you follow these steps. There are already lots of tools that are making life of developers easy.
About 90% neglects security headers. Here's a link to test your website and tell your developers to fix them ASAP. https://securityheaders.com
Everyone should be aware of OWASP top 10 https://owasp.org/www-project-top-ten/
# encoding: utf8 | |
# vigenere cipher | |
# https://stackoverflow.com/a/2490718/1675586 | |
def encode(key, string): | |
encoded_chars = [] | |
for i in range(len(string)): | |
key_c = key[i % len(key)] | |
encoded_c = chr(ord(string[i]) + ord(key_c) % 256) | |
encoded_chars.append(encoded_c) |