python verifier.py TOKEN FILE.CSV
Ex:
python verifier.py sl.alldutoken project_images_path.csv
import requests | |
jenkins_url = "" | |
pipeline_name = "" | |
username = "" | |
token = "" | |
base_url = f"{ jenkins_url }/blue/rest/organizations/jenkins/pipelines/{ pipeline_name }/branches/" | |
auth = (username, token) |
<?php | |
$CONCATENATED_QUERIES_REGEX = '/(SELECT|UPDATE|INSERT\s+INTO|DELETE\s+FROM)\s+[^;|\)]*[\'"]\s*\.\s*\$[a-zA-Z_]\w*/'; | |
function scanDirectory($dir) { | |
$files = []; | |
$iterator = new RecursiveIteratorIterator(new RecursiveDirectoryIterator($dir)); | |
foreach($iterator as $file) { | |
if ($file->isFile() && $file->getExtension() === 'php') { |
python verifier.py TOKEN FILE.CSV
Ex:
python verifier.py sl.alldutoken project_images_path.csv
FROM python:3 | |
WORKDIR /usr/src/app | |
ENV CHECKSUM_RSA_KEY_FILE /usr/src/app/rsa_key | |
COPY requirements.txt ./ | |
RUN pip install --no-cache-dir -r requirements.txt | |
RUN apt update |
sudo su
;cd /home/TEU_USUARIO
Ex: cd /home/silva
mysqldump -pqu46pbwTz8tBcWzN -uroot BANCO_DO_CLIENTE > DOMINIO_DO_CLIENTE.sql
;
Ex: mysqldump -pqu46pbwTz8tBcWzN -uroot blog-albumgraf-novo > albumgraf.com.br.sql
zip -r DOMINIO_DO_CLIENTE.zip /var/www/WORDPRESS_DO_CLIENTE
;
Ex: zip -r albumgraf.com.br.zip /var/www/blog-albumgraf-novo
zip -r DOMINIO_DO_CLIENTE-certificados.zip /etc/letsencrypt/live/DOMINIO_DO_CLIENTE
;
Ex: zip -r albumgraf.com.br-certificados.zip /etc/letsencrypt/live/albumgraf.com.br
SERVER_HTTP_PORT=80 | |
SERVER_HTTPS_PORT=443 | |
MYSQL_ROOT_PASSWORD=test | |
AWS_ACCESS_KEY=test | |
AWS_SECRET_ACCESS_KEY=test |
Executed in 2022-05-03 10:33:21.410481 | |
Connected to MySQL Server version 5.5.5-10.1.30-MariaDB-1~jessie | |
Catching query: select benchmark(10000000000, md5('when will it end 3?')) | |
Pokecess: [254, 251, 248, 244, 242, 240, 237, 234, 230] | |
- Catched pokecess 254 | |
- Catched pokecess 251 | |
- Catched pokecess 248 | |
- Catched pokecess 244 | |
- Catched pokecess 242 | |
- Catched pokecess 240 |
#!/usr/bin/env bash | |
set -e | |
declare -a tables=("project" "photo_project"); | |
for table in "${tables[@]}" | |
do | |
aws dms reload-tables \ | |
--replication-task-arn "arn:aws:dms:sa-east-1:563887512369:task:XGPXOQJKUOT2I5P4HXSB3LQFAVH6XG6WAFDHENY" \ | |
--tables-to-reload "SchemaName=photobook,TableName=$table" \ |
version: '2.1' | |
services: | |
mariadb-master: | |
image: docker.io/bitnami/mariadb:10.6 | |
ports: | |
- '3308:3306' | |
volumes: | |
- 'mariadb_master_data:/bitnami/mariadb' | |
- ./mysql-dump:/docker-entrypoint-initdb.d |
# Ambient variables | |
.env | |
# Git folder | |
.git | |
# Docker compose, because, don't | |
docker-compose.yml | |
# Ignore files '-' |