This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Summary of passwords by sperglord8008s, updated November 1. 2020. For login try "root", "default", "defaul" or "root" | |
| 00000000 | |
| 059AnkJ | |
| 4uvdzKqBkj.jg | |
| 7ujMko0admin | |
| 7ujMko0vizxv | |
| 123 | |
| 1111 | |
| 1234 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # 20161122 https://github.com/ConradIrwin/rxxr2/blob/master/data/input/regexlib-raw.txt http://www.cs.bham.ac.uk/~hxt/research/rxxr2/ | |
| # This will find URLs in plain text. With or without protocol. It matches against all toplevel domains to find the URL in the text. | |
| # ID: 1016 | |
| ([\d\w-.]+?\.(a[cdefgilmnoqrstuwz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvxyz]|d[ejkmnoz]|e[ceghrst]|f[ijkmnor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eouw]|s[abcdeghijklmnortuvyz]|t[cdfghjkmnoprtvwz]|u[augkmsyz]|v[aceginu]|w[fs]|y[etu]|z[amw]|aero|arpa|biz|com|coop|edu|info|int|gov|mil|museum|name|net|org|pro)(\b|\W(?<!&|=)(?!\.\s|\.{3}).*?))(\s|$) | |
| # Retrieves all anchor links in a html document, useful for spidering. You will need to do a replace of " and ' after the regular expression, as the expression gets all links. As far as I know there is no way, even with \1 groupings, of getting a condition on whether the link |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from sqlalchemy.orm import sessionmaker, declarative_base | |
| Base = declarative_base() | |
| app = FastAPI(title=" A simple pagination learning exercise", | |
| debug=True) | |
| class Employee(Base): | |
| __tablename__ = "employee" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from faker import Faker | |
| from sqlalchemy import create_engine, text | |
| from sqlalchemy.exc import SQLAlchemyError | |
| from sqlalchemy.orm import sessionmaker | |
| from urllib.parse import quote | |
| def connect_to_db(): | |
| connection_url = "mysql+pymysql://<username>:<password>@<hostname>:3306/<databasename>" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from sqlalchemy import create_engine, text | |
| from sqlalchemy.exc import SQLAlchemyError | |
| from sqlalchemy.orm import sessionmaker | |
| from urllib.parse import quote | |
| def connect_to_db(): | |
| connection_url = "mysql+pymysql://<username>:<password>@<hostname>:3306/<databasename>" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "@odata.context": "https://graph.microsoft.com/v1.0/$metadata#users('a1049f67-e41a-4c43-961-4604e17')/messages", | |
| "@odata.nextLink": "https://graph.microsoft.com/v1.0/me/messages?$search=%22subject%3aTest+subject+email%22&top=1&$skiptoken=MSZZVlF4YlZwcVVUVmFWR2N4V1hreGFscHFVWGxNSGc9", | |
| "value": [ | |
| { | |
| "@odata.etag": "W/\"CQAAABYAAAB4JTob+Wwd80MYwNQJT\"", | |
| "id": "AAMkADA4NWYzMjliLWFkNzQtNGEzYS1hOTETYxNWQ3MGYyYmEzOABGAAAAAAAcrUN9WKzQR46Vn6UoXJxfBwBUaFNIx94JTob_Wwd80MYHAAAAAAEJAABUaFNIx94JTob_Wwd80MYHAACwp1kOAAA=", | |
| "createdDateTime": "2022-07-26T10:14:07Z", | |
| "lastModifiedDateTime": "2022-07-26T10:16:26Z", | |
| "changeKey": "CQAAABYAAABob+Wwd80MYHAACwNQJT", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import requests | |
| from requests import RequestException | |
| from msal import ClientApplication | |
| def get_email_messages(subject): | |
| try: | |
| app = ClientApplication(client_id='your client id', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from pydantic import BaseSettings | |
| class Settings(BaseSettings): | |
| DB_NAME: str = 'local' | |
| DB_USER: str = 'localuser' | |
| DB_HOST: str = "mysql.localhost.com" | |
| DB_PASSWORD: str | |
| API_ENDPOINT: str |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from pydantic import BaseSettings | |
| from dotenv import load_dotenv | |
| load_dotenv() | |
| class Settings(BaseSettings): | |
| DB_NAME: str = 'local' | |
| DB_USER: str = 'localuser' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "all_employees": [ | |
| { | |
| "dept": 17, | |
| "empname": "Christopher Whitaker", | |
| "location": "Antarctica (the territory South of 60 deg S)", | |
| "dob": "1962-12-13", | |
| "empid": 53 | |
| }, | |
| ... |
NewerOlder