es
Feedback
4 096
Suscriptores
-624 horas
-257 días
-13730 días
Archivo de publicaciones
like (1).py0.05 KB

Code website hữu ích Lấy IPv4 khi truy cập trang website tránh tình trạng lạm dụng
<?php
// Lấy địa chỉ IP của người dùng
$ip = $_SERVER['REMOTE_ADDR'];

// Tên file log để lưu IP
$log_file = "logs/ip_log.txt";

// Tạo thư mục nếu chưa có
if (!file_exists("logs")) {
    mkdir("logs", 0777, true);
}

// Kiểm tra nếu IP chưa tồn tại trong log
$logged_ips = file_exists($log_file) ? file($log_file, FILE_IGNORE_NEW_LINES | FILE_SKIP_EMPTY_LINES) : [];

if (!in_array($ip, $logged_ips)) {
    // Ghi IP vào file
    $entry = $ip . " - " . date("Y-m-d H:i:s") . "\n";
    file_put_contents($log_file, $entry, FILE_APPEND);
    echo "IP của bạn đã được ghi lại.";
} else {
    echo "IP của bạn đã được ghi trước đó.";
}
?>

zLocket-Tool-Pro-main.zip1.17 MB

def convert_timestamp(ms): return datetime.fromtimestamp(ms / 1000).strftime("%d/%m/%Y %H:%M") @bot.message_handler(commands=['vietlott']) def send_vietlot_result(message): auto_react_to_command(message) try: mega_url = "https://coccoc.com/composer/vertical/lottery?id=4" power_url = "https://coccoc.com/composer/vertical/lottery?id=5" mega_data = requests.get(mega_url).json() power_data = requests.get(power_url).json() text = "🎲 <b>KẾT QUẢ XỔ SỐ VIETLOTT</b>\n\n" # ===== MEGA 6/45 ===== if mega_data.get("lottery"): mega = mega_data["lottery"] info = mega["data"] block = f"🔷 <b>Mega 6/45</b>\n" block += f"📅 Ngày: {convert_timestamp(info['day'])}\n" block += f"🔢 Kỳ: {info['round']}\n" block += f"🎉 Kết quả: <code>{' - '.join(info.get('results', []))}</code>\n" prizes = info.get("prizes", []) if prizes: block += "🏆 <b>Giải thưởng:</b>\n" for p in prizes: num = p.get("numberPrize", "") val = p.get("value", "") if num == "0": block += f"🥇 Jackpot: {num} người trúng - 💰 {val}\n" else: block += f"🎖 {num} người trúng - 💵 {val}\n" else: block += "⚠️ Không có dữ liệu giải thưởng.\n" text += f"<blockquote>{block.strip()}</blockquote>\n\n" # ===== POWER 6/55 ===== if power_data.get("lottery"): power = power_data["lottery"] info = power["data"] block = f"🔶 <b>Power 6/55</b>\n" block += f"📅 Ngày: {convert_timestamp(info['day'])}\n" block += f"🔢 Kỳ: {info['round']}\n" block += f"🎉 Kết quả: <code>{' - '.join(info.get('results', []))}</code>\n" prizes = info.get("prizes", []) if prizes: block += "🏆 <b>Giải thưởng:</b>\n" for p in prizes: num = p.get("numberPrize", "") val = p.get("value", "") if num == "0": block += f"🥇 Jackpot 1: {num} người trúng - 💰 {val}\n" elif num == "1": block += f"🥈 Jackpot 2: {num} người trúng - 💰 {val}\n" else: block += f"🎖 {num} người trúng - 💵 {val}\n" else: block += "⚠️ Không có dữ liệu giải thưởng.\n" text += f"<blockquote>{block.strip()}</blockquote>" bot.reply_to(message, text.strip(), parse_mode="HTML") except Exception as e: bot.reply_to(message, f"❌ Lỗi khi lấy dữ liệu: {e}")

autoreg.py0.02 KB

Free fire info- Tấn Hưng.zip0.30 KB

Web site copier source code PHPUSE- ?url=https://aniverse.top SOURCE CODE-
<?php

header('Content-Type: application/json');

if (!isset($_GET['url'])) {
    http_response_code(400);
    echo json_encode(['error' => 'Missing "url" parameter']);
    exit;
}

$targetUrl = $_GET['url'];

$apiUrl = 'https://copier.saveweb2zip.com/api/copySite';

$payload = json_encode([
    'url' => $targetUrl,
    'renameAssets' => false,
    'saveStructure' => false,
    'alternativeAlgorithm' => false,
    'mobileVersion' => false
]);

$headers = [
    'Content-Type: application/json',
    'Origin: https://saveweb2zip.com',
    'Referer: https://saveweb2zip.com/',
    'User-Agent: Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/137.0.0.0 Mobile Safari/537.36'
];

$ch = curl_init($apiUrl);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, $payload);
curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);
curl_setopt($ch, CURLOPT_ENCODING, '');

$response = curl_exec($ch);
curl_close($ch);

$data = json_decode($response, true);

if (!$data || !isset($data['md5'])) {
    echo json_encode(['error' => 'Failed to get md5', 'response' => $response]);
    exit;
}

$md5 = $data['md5'];
$downloadUrl = "https://copier.saveweb2zip.com/api/downloadArchive/$md5";

echo json_encode([
    'success' => true,
    'download' => $downloadUrl
]);

بوت بلاغات تيك توك.py0.22 KB

n.py0.02 KB

اداة حظر انستا ⚜️

MY NEW LIKE BOT CODE 🥰 ONLY CHANGE BOT TOKEN AND LIKE API URL AND RUN IT ON MY BOT - @MARCO_FILE_HOST_BOT or @Botrosterbot
100% SECURITY

tqhv7.py0.11 KB

main.py0.06 KB

+3
python - requests.py0.05 KB

de.py0.16 KB

spam ng link

kt.py0.19 KB

import requests
from PIL import Image
from io import BytesIO

app = Flask(__name__)

# Base image URL
BASE_IMAGE_URL = "https://iili.io/39iE4rF.jpg"

# Example API keys (you can store these in a database or a config file)
API_KEYS = {
    "MARCOxIROTECH": True,  # Active key
    "1DAY": True, # Inactive key
    "busy": False   # Active key
}

def is_key_valid(api_key):
    """Check if the provided API key is valid and active."""
    return API_KEYS.get(api_key, False)

def fetch_data(region, uid):
    """Fetch data from the new API based on region and uid."""
    url = f"http://hyper-full-info-api.vercel.app/info?uid={uid}&region={region}"
    
    response = requests.get(url)
    if response.status_code == 200:
        return response.json()
    else:
        print(f"Error fetching data: {response.status_code}, {response.text}")  # Print error details
        return None

def overlay_images(base_image, item_ids):
    """Overlay item images on the base image."""
    # Load the base image
    base = Image.open(BytesIO(requests.get(base_image).content)).convert("RGBA")
    
    # Define positions for each item (x, y)
    positions = [
        (485, 473),   # Position for item 1
        (295, 546),  # Position for item 2
        (290, 40),  # Position for item 3
        (479, 100),   # Position for item 4
        (550, 280),  # Position for item 5
        (100, 470)   # Position for item 6
    ]

    # Define sizes for each item (width, height)
    sizes = [
        (130, 130),   # Size for item 1
        (130, 130),   # Size for item 2
        (130, 130),   # Size for item 3
        (130, 130),   # Size for item 4
        (130, 130),   # Size for item 5
        (130, 130)    # Size for item 6
    ]
    
    for idx, item_id in enumerate(item_ids):
        item_image_url = f"https://pika-ffitmes-api.vercel.app/?item_id={item_id}&watermark=TaitanApi&key=PikaApis"
        item = Image.open(BytesIO(requests.get(item_image_url).content)).convert("RGBA")
        # Resize the item image using LANCZOS for high-quality downsampling
        item = item.resize((sizes[idx][0], sizes[idx][1]), Image.LANCZOS)
        base.paste(item, (positions[idx][0], positions[idx][1]), item)

    return base

@app.route('/api', methods=['GET'])
def api():
    """API endpoint to get the overlaid image."""
    region = request.args.get('region')
    uid = request.args.get('uid')
    api_key = request.args.get('key')  # Get the API key from the request

    if not region or not uid or not api_key:
        return jsonify({"error": "Missing region, uid, or key parameter"}), 400

    if not is_key_valid(api_key):
        return jsonify({"error": "Invalid or inactive API key"}), 403

    data = fetch_data(region, uid)
    if not data or "AccountProfileInfo" not in data or "EquippedOutfit" not in data["AccountProfileInfo"]:
        return jsonify({"error": "Failed to fetch data. Recheck uid and region"}), 500

    item_ids = data["AccountProfileInfo"]["EquippedOutfit"]
    
    # Ensure we only take the first 6 item IDs
    item_ids = item_ids[:6]

    # Overlay images on the base image
    overlaid_image = overlay_images(BASE_IMAGE_URL, item_ids)

    # Save the image to a BytesIO object
    img_io = BytesIO()
    overlaid_image.save(img_io, 'PNG')
    img_io.seek(0)

    return send_file(img_io, mimetype='image/png')

if __name__ == '__main__':
    app.run(host='0.0.0.0', port=5000, debug=True)

Repost from FREE API 🇻🇳
Hey everyone! 🎉 Our Free Fire bot @Checkinfofreefire_bot is now OPEN for ALL! No fees, just enjoy the features freely. What can it do? 🔍 Search player info with /get <region> <uid> 🔎 Find accounts by nickname with /search <name> 🚫 Check ban status with /isbanned <uid> And many more handy commands to level up your Free Fire experience! How to use? Just start chatting with @Checkinfofreefire_bot and use /help to see all commands. Let’s crush the game together! 💥 Join here 👉 https://t.me/eventfreefirechat

AI CÓ NHU CẦU MUA LIKE FREE FIRE,THUÊ API FREE FIRE,.. LIÊN HỆ @Tanhung11231 Tham gia nhóm 👉 tại đây