ملفات Pydroid+php
3.52K subscribers
60 photos
20 videos
41 files
165 links
Download Telegram
import logging
import time,re,json
from aiohttp import ClientSession
import aiohttp
from bs4 import BeautifulSoup
import random
import asyncio
import json
import requests
import unicodedata
import urllib3

def random_ip():
ips = ['46.227.123.', '37.110.212.', '46.255.69.', '62.209.128.', '37.110.214.', '31.135.209.', '37.110.213.'];
prefix = random.choice(ips)
return prefix + str(random.randint(1, 255))

class Downloads():
async def instagram(url):
result = []
RES = {}
data = {'q': url, 'vt': 'home'}
headers = {
'origin': 'https://snapinsta.io',
'referer': 'https://snapinsta.io/',
'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.132 Safari/537.36',
'X-Forwarded-For': random_ip(),
'X-Client-IP': random_ip(),
'X-Real-IP': random_ip(),
'X-Forwarded-Host': 'snapinsta.io'
}
base_url = 'https://snapinsta.io/api/ajaxSearch'
async with ClientSession() as session:
async with session.post(base_url, data=data, headers=headers) as response:
# encoded_text = unicodedata.normalize('NFKD', await response.text()).encode('ascii', 'ignore')
# soup = BeautifulSoup(encoded_text, 'html.parser')
jsonn = json.loads(await response.text())
print(jsonn)
if jsonn['status'] == 'ok':
data = jsonn['data']
soup = BeautifulSoup(data, 'html.parser')
for i in soup.find_all('div', class_='download-items__btn'):
url = i.find('a')['href']
result.append({'url': url})
RES = {'status': True, 'result': result}
else:
RES = {'status': False, 'result': 'Error'}
print(json.dumps(RES, ensure_ascii=False, indent=4))
loop = asyncio.get_event_loop()
loop.run_until_complete(Downloads.instagram('https://www.instagram.com/p/CvPnxhKKt3R/?igshid=OGY3MTU3OGY1Mw=='))

هذا هم
from pyrogram import Client

# معلومات حسابك
api_id = 43436475
api_hash = '3245yjnhdfsghrj7rju6ery5twwrf'
app = Client(
"my_bot",
api_id=api_id,
api_hash=api_hash
)

app.start()

while True:
from_chat_id = -1001577697954 #ايدي المجموعه الي تخمط اعضاء منها
my_chat_id = -1001825384988 #ايدي المجموعه الي تضيف بيها الاعضاء
members = []
for member in app.get_chat_members(from_chat_id):
members.append(member.user.id)

app.add_chat_members(chat_id=my_chat_id, user_ids=members)

app.run()


كود خمط اعضاء
👍2
🔥31
استضافة مجانية تشغل جميع لغات البرمجة بايثون و php وغيرها هواي
الرابط stackblitz.com

مشاركة للقناة حتئ انزل بعد استضافات
@LL_php
9🔥5👍3🖕3🥰2❤‍🔥1👏1😁1😍1
اكو ناس تنشر بوتات تحكم بالارقام ترا هاي نغوله يخمطون حساباتكم لو يسوون بوتات رشق بحساباتكم.
🖕83👍1
<?php

if (isset($_GET['image'])) {
    $userAgent = 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36';
//By @LL_php
    $searchQuery = urlencode($_GET['image']);
    $searchUrl = "https://www.google.com/search?q=$searchQuery&tbm=isch";
//By @LL_php
    $ch = curl_init();
    curl_setopt($ch, CURLOPT_URL, $searchUrl);
    curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
    curl_setopt($ch, CURLOPT_USERAGENT, $userAgent);
//By @LL_php
    $html = curl_exec($ch);
//By @LL_php
    curl_close($ch);
//By @LL_php
    preg_match_all('/<img[^>]+src="([^">]+)"/', $html, $matches);
    $imageUrls = $matches[1];

    $imageResults = array();

    foreach ($imageUrls as $imageUrl) {
        $imageResults[] = $imageUrl;
    }

   
    header('Content-Type: application/json');
echo json_encode($imageResults, JSON_UNESCAPED_SLASHES);

}
?>

ايبي البحث عن الصور بالكوكل.

@LL_php
🙈43
<?php
header("Content-Type: application/json");
$dev="@LL_php";
if($_GET["name"]){
$url = file_get_contents("https://www.brandcrowd.com/maker/logos?text=".$_GET["name"]."&isFromRootPage=true#show-onboarding-modal");
$count = explode('</picture>',$url);
for($i=1;$i<count($count)-1;$i++){
preg_match_all('#srcset="(.*?),#',$url,$logo);
$logos = str_replace("amp;","",$logo[1][$i]);
$info[] = [
"logo"=>$logos,
"dev"=> $dev,
];
}
echo json_encode($info, JSON_UNESCAPED_UNICODE | JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES);
}
?>

ايبي صنع لوكو

@LL_php
1
<?php
error_reporting(-8);
$php = str_replace("@",null,$_GET["user"]);
if($php){

$Req = file_get_contents("https://t.me/".$php);

preg_match('/<meta\s+property="\']og:title["\']\s+content=["\'["\']\s*\/?>/i', $Req, $NAME);
preg_match('/<meta\s+property="\']og:image["\']\s+content=["\'["\']\s*\/?>/i', $Req, $IMAGE);
preg_match('/<meta\s+property="\']og:site_name["\']\s+content=["\'["\']\s*\/?>/i', $Req, $SiteName);
preg_match('/<meta\s+property="\']og:description["\']\s+content=["\'["\']\s*\/?>/i', $Req, $BioAcc);

$Bio = $BioAcc[1];
$Onsite = $SiteName[1];
$name = $NAME[1];
$img = $IMAGE[1];
if(preg_match('/Telegram: Contact/',$name)){die("حدثت خطأ: الحساب غير موجود");}
echo "الاسم: ".$name."<br>";
echo "النبذة: ".$Bio."<br>";
echo "الحساب على: ".$Onsite."<br>";
echo "رابط الصورة: ".$img."<br>";
echo "قناتي: @LL_php";
}
?>

معلومات حساب تلكرام

@LL_php
1👍1
P.php
6 KB
كود لعبة الروليت. جديد

@LL_php
1
<?php
$admin = 'ايدي';
$token = 'توكن';
function bot($method, $datas = [])
{
global $token;
$url = "https://api.telegram.org/bot" . $token . "/" . $method;
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, $datas);
$res = curl_exec($ch);
if (curl_error($ch)) {
var_dump(curl_error($ch));
} else {
return json_decode($res);
}
}

$update = json_decode(file_get_contents('php://input'));
$message = $update->message;
$mid = $message->message_id;
$type = $message->chat->type;
$text = $message->text;
$cid = $message->chat->id;
$uid = $message->from->id;
$gname = $message->chat->title;
$name = $message->from->first_name;
$repid = $message->reply_to_message->from->id;
$repname = $message->reply_to_message->from->first_name;
$username = $message->from->username;
$cusername = $message->chat->username;
$repmid = $message->reply_to_message->message_id;
$data = $update->callback_query->data;
$cmid = $update->callback_query->message->message_id;
$ccid = $update->callback_query->message->chat->id;
$cuid = $update->callback_query->message->from->id;
$qid = $update->callback_query->id;
$ctext = $update->callback_query->message->text;
$callfrid = $update->callback_query->from->id;
$callfname = $update->callback_query->from->first_name;
$calltitle = $update->callback_query->message->chat->title;
$calluser = $update->callback_query->message->chat->username;
$channel = $update->channel_post;
$channel_text = $channel->text;
$channel_mid = $channel->message_id;
$channel_id = $channel->chat->id;
$channel_user = $channel->chat->username;
$chanel_doc = $channel->document;
$chanel_vid = $channel->video;
$chanel_mus = $channel->audio;
$afile_id = $channel_mus->file_id;
$chanel_voi = $channel->voice;
$chanel_gif = $channel->animation;
$chanel_fot = $channel->photo;
$caption = $channel->caption;

$message = $update->message;
$tx = $message->text;
$cid = $message->chat->id;
$uid = $message->from->id;
$ty = $message->chat->type;
$name = $message->from->first_name;
$mid = $message->message_id;
$channel = $update->channel_post;
$channel_text = $channel->text;
$channel_mid = $channel->message_id;
$channel_id = $channel->chat->id;
$emolar = '🔥';
mkdir("like");

if ($text == "/start") {
bot('SendMessage', [
'chat_id' => $cid,
'text' => "👋مرحبًا <b>$name</b>",
'parse_mode' => 'html'
]);
}

if ($channel_text) {
$tokenn = uniqid("true");

bot('editMessageReplyMarkup', [
'chat_id' => $channel_id,
'message_id' => $channel_mid,
'inline_query_id' => $qid,
'reply_markup' => json_encode([
'inline_keyboard' => [
[['text' => "$emolar", 'callback_data' => "$tokenn=🔥"]],
],
]),
]);
}

if (mb_stripos($data, "=") !== false) {
$ex = explode("=", $data);
$calltok = $ex[0];
$emoj = $ex[1];
$mylike = file_get_contents("like/$calltok.dat");

if (mb_stripos($mylike, "$callfrid") !== false) {
bot('answerCallbackQuery', [
'callback_query_id' => $qid,
'text' => "عذرًا، قد قمت بإعطاء صوت من قبل!",
'show_alert' => true,
]);
} else {
file_put_contents("like/$calltok.dat", "$mylike$callfrid=$emoj");
$value = file_get_contents("like/$calltok.dat");
$lik = substr_count($value, "🔥");

bot('editMessageReplyMarkup', [
'chat_id' => $ccid,
'message_id' => $cmid,
'inline_query_id' => $qid,
'reply_markup' => json_encode([
'inline_keyboard' => [
[['text' => "$emolar $lik", 'callback_data' => "$calltok=🔥"]],
],
]),
]);
}
}

if (mb_stripos($data, "$calltok=🔥") !== false) {
bot('answerCallbackQuery', [
'callback_query_id' => $qid,
'text' => "🔥",
'show_alert' => false,
]);
}

كود يضيف زر تصويت ع كل منشور جديد بالقناة .

@LL_php
👍3🔥3
<?php
$text = $_GET['text'];
$birth_date = new DateTime($text);
$current_date = new DateTime();
$diff = $birth_date->diff($current_date);
$years = $diff->y;
$months = $diff->y * 12 + $diff->m;
$weeks = floor($diff->days / 7);
$days = $diff->days;
$hours = $diff->h + ($diff->days * 24);
$minutes = $diff->i + ($diff->days * 24 * 60);
$seconds = $diff->s + ($diff->days * 24 * 60 * 60);

$result = [
'منذ ميلادك',
'العمر: ' . $years,
'الشهور: ' . $months,
'الأسابيع: ' . $weeks,
'الأيام: ' . $days,
'الساعات: ' . $hours,
'الدقائق: ' . $minutes,
'الثواني: ' . $seconds
];

header('Content-type: application/json');
echo json_encode($result);
?>

@LL_php
1🔥1
if($text == "/start"){
$getlink = file_get_contents("https://api.telegram.org/bot".$token."/createChatInviteLink?chat_id=".$chanel_id."member_limit=1");
$argon = json_decode($getlink, true);
$getlinkde = $argon['result']['invite_link'];

bot('SendMessage', [
'chat_id' => $cid,
'text' => "تم إنشاء الرابط بنجاح! \n $getlinkde",
]);
}
?>
@LL_php
🔥3
بوت الافتارات ينزل اي صورة تريدها بس ادخل ابحث عليها
@FTRTTBOT
🔥1
<?php
ob_start();
error_reporting(0);
header('Content-Type: application/json');

function info($id){
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, "https://getindevice.com/wp-json/aio-dl/video-data/");
curl_setopt($ch, CURLOPT_HTTPHEADER, array(
'Origin: https://getindevice.com/',
'Referer: https://getindevice.com/',
'User-Agent: Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Mobile Safari/537.36'));
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, "url=".$id);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);
curl_close($ch);

return $response;
}

$res = info($_GET["url"]);
$arr = json_decode($res,1);

echo json_encode($arr, JSON_UNESCAPED_UNICODE | JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES);

Api تحميل من الانستقرام
@LL_php
🔥31👎1
m.py
6.5 KB
اداة تشوف شكد رصيد بالفيزة + مو مالتي فقط فكيت التشفير
@LL_php
👍1
import base64
import zlib
import marshal


encrypted_value = b'==الكود المشفر هنا خلي'


reversed_text = encrypted_value[::-1]


decoded_text = base64.b64decode(reversed_text)


uncompressed_text = zlib.decompress(decoded_text)


try:
original_code = uncompressed_text.decode('latin-1')
print(original_code)
except UnicodeDecodeError:
print("!!")


executed_code = marshal.loads(uncompressed_text)
exec(executed_code)


اداة فك تشفير.
@LL_php
👍2
يعني شبيكم ماشايفين $ رحمه للكعبه قفاصه شكد بتلي اكثرهم قفاصة جماعة الاثباتات شيسوي يراسل روحه من حساب ثاني 🤣

جماعة بوتات الرشق : قفاصه

جماعة بوتات التجميع : قفاصه

جماعة الاستضافات : قفاصه

جماعة السيرفرات : قفاصه

اكيد مو كلهم بس نصهم
👍2🤣2
<?php

header("Access-Control-Allow-Origin: *");
header("Access-Control-Allow-Methods: GET, OPTIONS");
header("Access-Control-Allow-Headers: Origin, X-Requested-With, Content-Type, Accept");
$song_name = isset($_GET['song']) ? $_GET['song'] : '';
$external_api_url = "https://lyrist.vercel.app/api/$song_name";
$response = file_get_contents($external_api_url);
if ($response !== false) {

    header('Content-Type: application/json');
    echo $response;
} else {

    echo json_encode(['error' => 'غير قادر على جلب البيانات من الAPI الخارجي']);
}
?>


Api ينطيك كلمات الاغنية

api.php?song=اسم_الأغنية

@LL_php
1👏1
<?php
ob_start();
error_reporting(0);
header('Content-Type: application/json');

function info($id){
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, "https://downloaderr.com/system/action.php");
curl_setopt($ch, CURLOPT_HTTPHEADER, array(
'Origin: https://downloaderr.com/',
'Referer: https://downloaderr.com/',
'User-Agent: Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Mobile Safari/537.36'));
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, "url=".$id);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);
curl_close($ch);

return $response;
}

$res = info($_GET["url"]);
$arr = json_decode($res,1);

echo json_encode($arr, JSON_UNESCAPED_UNICODE | JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES);

?>
تحميل من اليوتيوب صوتيات مقاطع كلشي.

@LL_php
🔥2👍1