Compiling:
gcc id_card_parser.c -o passport_data
Usage:
| #!/bin/bash | |
| VPN_SERVER="10.8.0.1" | |
| STATUS_COMMAND="/root/openvpn_status.sh" | |
| output=$(ssh -o BatchMode=yes -o ConnectTimeout=5 root@$VPN_SERVER "$STATUS_COMMAND") | |
| if [[ $? -ne 0 ]]; then | |
| echo "Failed to connect to $VPN_SERVER or run the command." | |
| exit 1 |
| #!/bin/bash | |
| LOG_FILE="/var/log/openvpn/status.log" | |
| if [ ! -f "$LOG_FILE" ]; then | |
| echo "Log file not found: $LOG_FILE" | |
| exit 1 | |
| fi | |
| declare -A tunnel_ips |
| ; ===== Registerlarni belgilash ===== | |
| .equ DDRD = 0x2A | |
| .equ DDRB = 0x24 | |
| .equ PORTB = 0x25 | |
| .equ PIND = 0x29 | |
| ; ===== Asosiy dastur ===== | |
| .org 0x0000 ; Dasturning boshlang‘ich nuqtasi | |
| rjmp RESET ; Portlarni sozlash uchn reset sektoriga o‘tish |
| #!/bin/bash | |
| CURRENT_TIME=$(date +%s) | |
| mailq | awk '/^[A-F0-9]/ {print $1, $3, $4, $5}' | while read -r ID MONTH DAY TIME; do | |
| MESSAGE_DATE="$MONTH $DAY $TIME $(date +%Y)" | |
| MSG_TIMESTAMP=$(date -d "$MESSAGE_DATE" +%s 2>/dev/null) | |
| if [ $? -ne 0 ]; then |
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <string.h> | |
| #include <unistd.h> | |
| #include <limits.h> | |
| #include <stdint.h> | |
| #include <pthread.h> | |
| void restart_program() { | |
| char program_path[100]; |
| <?php | |
| //Tasofidiy son generatsiya qilish | |
| function lcg(&$seed) { | |
| //ushbu qiymatlar CSda tasodifiy son generatsiyasi uchun eng ko'p statistikalarga asoslanib aniqlangan | |
| $a = 1664525; | |
| $c = 1013904223; | |
| // 2ning 32-darajasi | |
| $m = pow(2, 32); |
| #include <sys/mman.h> | |
| void* c_malloc(size_t size) { | |
| void* ptr; | |
| asm volatile ( | |
| "mov $9, %%rax\n" | |
| "mov $0, %%rdi\n" | |
| "mov %1, %%rsi\n" | |
| "mov $3, %%rdx\n" |
| #include <stdio.h> | |
| #include <string.h> | |
| void similar_str( const char* txt1, int len1, const char* txt2, int len2, int* pos1, int* pos2, int* max, int* count ) { | |
| *max = 0; | |
| *count = 0; | |
| for ( int i = 0; i < len1; i++ ) { | |
| for ( int j = 0; j < len2; j++ ) { | |
| int l = 0; | |