Humo Hacker | βŽ™
463 subscribers
280 photos
72 videos
299 files
359 links
πŸ‘‹ Assalomu alaykum hammaga !

Kanalga azo bo'lganingiz uchun raxmat!

Hurmat bilan: @Humo_Hacker jamoasi
©️ 2023-2026
Download Telegram
This media is not supported in your browser
VIEW IN TELEGRAM
πŸ˜‚πŸ˜‚

@WonderfulCodersπŸ‡ΊπŸ‡Ώ > #memes
❀1⚑1πŸ‘1πŸ”₯11
<?PHP

$cty = $message->chat->type;
$cusername = $message->chat->username;

if($cty=="supergroup" or $cty=="group"){
   $bazaa=file_get_contents("group.ids");
   if(mb_stripos($bazaa,"@$cusername") !==false){
   }else{
   $txt="\n@$cusername";
   $file=fopen("group.ids","a");
   fwrite($file,$txt);
   fclose($file);
  }
  }


   $bazaaa=file_get_contents("group.ids");
$jami = substr_count($bazaaa,"\n");
if($text == "/stat"){
bot('sendMessage',[
      'chat_id'=>$cid,
      'text'=>"<b>Guruh userlari : $bazaaa

Jami : $jami ta</b>",
'parse_mode'=>"html",
      ]);
}
?>

πŸ“‚ #php #function #get_msg_id

πŸ“Š GURUH USER BILAN SAQALASH
βœ… @KLoyihalar Obuna boΚ»ling
⚑1❀1πŸ‘1πŸ”₯1
#Instagram'dan yuklovchi API

function insta($url) {
$api = "https://x.wwi.su/x/instagram/";
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => $api."?post=$url",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_USERAGENT => "PHPiB",
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
curl_close($curl);
return $response;
}
header('Content-Type: application/json');

echo insta($_GET["url"]);



Eslatma Moskva yoki umuman Rossiya serverlari uchun copy() yoki file_get_contents() dan foydalanib faylga yuklash umuman foydasiz agar telegram botingiz bo'lsa shunchaki urlni tog'rima tog'ri jo'natadigan qiling.

@WonderfulCoders & @PHPsUz
πŸ‘2⚑1❀1πŸ”₯1
$url = 'https://daryo.uz/feed/';
$rss = simplexml_load_file($url);
foreach ($rss->channel->item as $item) {
$line = $item->title;
$link = $item->link;
break;
}
if($text == "πŸ“£Yangiliklar"){
$url = "https://daryo.uz/feed/";
$rss = simplexml_load_file($url);
foreach ($rss->channel->item as $item) {
$line = $item->title;
$link = $item->link;
}
bot ('sendmessage', [
'chat_id'=> $cid,
'text'=>"

πŸ””Eng soβ€˜ngi πŸ“°yangiliklar

πŸ†•οΈ[$line]($link)

πŸ“Xabarni o'qish uchun pastdagi tugmani bosing!",
'parse_mode'=>'html',
'reply_markup'=>json_encode([
'inline_keyboard'=>[
[['text'=>"πŸ”Xabarni o'qish ! ", 'url'=>"$link"]],
[['text'=>"● Admin ", 'url'=>"https://t.me/$adminuser"]],
]
])
]);
}

@WonderfulCodersπŸ‡ΊπŸ‡Ώ > #function
πŸ‘6❀4πŸ”₯3❀‍πŸ”₯1πŸ₯°1πŸ’―1
//Manba @WonderfulCoders and @PHPsUz and @BegmatovDev
$token = "BotTokeni"; //Telegramdan BotFather dan olingan apini qoying
define('API_KEY',$token);
echo file_get_contents("https://api.telegram.org/bot".API_KEY."/setwebhook?url=".$_SERVER['SERVER_NAME'].$_SERVER['SCRIPT_NAME']);
echo "<a href='https://api.telegram.org/bot$API_KEY/setwebhook?url=".$_SERVER['SERVER_NAME']."".$_SERVER['SCRIPT_NAME']."'>setwebhook</a>";
function bot($method,$datas=[]){
$url = "https://api.telegram.org/bot".API_KEY."/".$method."?".http_build_query($datas);
return json_decode(file_get_contents($url));
}

$update = json_decode(file_get_contents('php://input'));
$message = $update->message;
$chat_id = $message->chat->id;
$from_id = $message->from->id;
$fn = $update->message->from->first_name;
$data = $update->callback_query->data;
$chat_id2 = $update->callback_query->message->chat->id;
$reply = $message->reply_to_message->message_id;
$message = $update->message;
$text = $message->text;
$user = bot('getme',['bot'])->result->username;
$ne = bot('getme',['bot'])->result->name;
$mroan = json_decode(file_get_contents("https://php88-api.ml/API/a.php?url=$text"));

if($text=="/start" ){
bot('sendMessage',[
'chat_id'=>$chat_id,
'text'=>"Bu bot orqaliy siz text ni golsga aylantirolasiz birorbir text yozing... ",
'parse_mode'=>"html",
]);
}


if($text ){
bot('sendAudio', [
'chat_id' =>$chat_id,
'audio' =>"https://translate.google.com/translate_tts?ie=UTF-8&client=tw-ob&tl=ar&q=$text",
'caption' =>"$text",
'parse_mode' =>"html",
'disable_notification' => false,
]);
}

Manba @WonderfulCoders and @PHPsUz and @BegmatovDev
πŸ‘9πŸ”₯8❀7πŸ₯°3❀‍πŸ”₯1
mkdir(stat);
if(isset($message)){
$get = file_get_contents("stat/usid.txt");
if(mb_stripos($get,$fid)==false){
file_put_contents("stat/usid.txt", "$get\n$fid");
bot('sendMessage',[
'chat_id'=>$admin,
'text'=>"πŸ‘€ Yangi aΚΌzo
βœ‰οΈ Lichka: <a href='tg://user?id=$fid'>$name</a>",
'parse_mode'=>"html"
]);
}}

βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–

πŸ‘¨β€πŸ’» Bizdan uzoqlashmang 🀩
πŸ‡ΊπŸ‡Ώ Biz bilan qoling ‼️

Ⓜ️ Manba: @CyberCodeUz

⚑Kanalimiz: @WonderfulCoders
πŸ₯°5❀3πŸ‘3πŸ”₯3
Koβ€˜p tilli botlarda🀘
Til tanlasa bazaga saqlab oladiβœ”οΈ
Lekn yana start bossa til soβ€˜raydi😟
Bu funcsiya shu muammoni bartaraf etadiπŸ‘‡
βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–
if($tx == "/start"){
$bgsql = "SELECT * FROM savdo WHERE tg_id = '{$cid}'";
$result = $conn->query($bgsql);
$result = @mysqli_fetch_assoc($result);
if($result['tili']=="UZ"){
bot('sendMessage',[
'chat_id'=>$cid,
'text'=>"Salom $name Botimizga hush kelibsiz",
'parse_mode'=>'html',
'reply_markup'=>$bosh,
]);
}elseif($result['tili']=="RU"){
bot('sendMessage',[
'chat_id'=>$cid,
'text'=>"ΠŸΡ€ΠΈΠ²Π΅Ρ‚ $name",
'parse_mode'=>'html',
'reply_markup'=>$bosh,
]);
}elseif(!isset($result['tili'])){
bot('sendMessage',[
'chat_id'=>$cid,
'text'=>"Tilni tanlangπŸ‡ΊπŸ‡Ώ
Π’Ρ‹Π±Π΅Ρ€ΠΈΡ‚Π΅ ΡΠ·Ρ‹ΠΊπŸ‡·πŸ‡Ί",
'parse_mode'=>'html',
'reply_markup'=>$til,
]);
}}

πŸ‘¨β€πŸ’» Bizdan uzoqlashmang 🀩
πŸ‡ΊπŸ‡Ώ Biz bilan qoling ‼️

Ⓜ️ Manba: @CyberCodeUz

⚑️Kanalimiz: @WonderfulCoders
πŸ”₯7❀4πŸ‘3
<?php
date_Default_timezone_set('Asia/Tashkent');
define('BestProger',"API_TOKEN");

//ushbu kod @WonderfulCoders Kanalida Tarqatildi

$admin = "ADMIN_ID";
$sana = date("d.m.Y");

function bot($method,$datas=[]){
$url = "https://api.telegram.org/bot".BestProger."/".$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;
$cid = $message->chat->id;
$tx = $message->text;
$from_id = $update->message->from->id;
$mid = $message->message_id;
$name = $message->from->first_name;
$fid = $message->from->id;
$callback = $update->callback_query;
$message = $update->message;
$mid = $message->message_id;
$data = $update->callback_query->data;
$text = $message->text;
$cal = $update->callback_query;
$cmid = $update->callback_query->message->message_id;
$ccid = $update->callback_query->message->chat->id;
$callid = $callback->id;

mkdir("bonus");
mkdir("balans");

if($text == "bonus"){
$bonus = file_get_contents("bonus/$cid.txt");
if($bonus != $sana){
$pul = file_get_contents("balans/$cid.txt");
$miqdor = rand(100,200);
$a = $pul + $miqdor;
file_put_contents("balans/$cid.txt","$a");
bot('editMessageText',[
'chat_id'=>$cid,
'text'=>"πŸ’Έ <b>Kunlik bonus</b> - $miqdor som",
'parse_mode'=>'html',
'reply_markup'=>json_encode([
'inline_keyboard'=>[
[['text'=>"◀️ Orqaga",'callback_data'=>"orqaga"]],
]
])
]);
file_put_contents("bonus/$cid.txt","$sana");
}else{
bot("answerCallbackQuery",[
"callback_query_id"=>$callid,
'text'=>"❌ Bugun bonus olgansiz!",
"show_alert"=>true,
]);
}
}


Kunlik bonus
@WonderfulCodersπŸ‡ΊπŸ‡Ώ > #function
πŸ‘3πŸ”₯3❀2
This media is not supported in your browser
VIEW IN TELEGRAM
πŸ‘5πŸ”₯3⚑2❀1πŸ•Š1
$count= bot("getChatMembersCount",[
'chat_id'=>"@WonderfulCoders",//kanaliz userini qoyasiz
])->result;


bot("setChatDescription",[
'chat_id'=>"@WonderfulCoders",
'description'=>"
πŸ‘‹ Assalomu alaykum hammaga !

Kanalga azo bo'lganingiz uchun raxmat!

πŸ“Š Obunachilar : $count ta
⏳ Soat : $soat

Hurmat bilan: @WonderfulCoders jamoasi
©️ 2023-2024
"
]);

Kanal bio si uchun soat
Cron qilish esdan chiqmasin

@WonderfulCodersπŸ‡ΊπŸ‡Ώ > #function
πŸ‘3❀1πŸ”₯1
πŸ‘3❀2πŸ”₯2
<?php




// Bot tokeni qoβ€˜yiladi
define('BOT_TOKEN', 'TOKEN'); // TOKEN joyiga tokeningizni qoβ€˜ying.

$update = json_decode(file_get_contents('php://input'), true);

if (isset($update['message'])) {
$chat_id = $update['message']['chat']['id'];
$text = $update['message']['text'];

if ($text == '/random') {
// 1 dan 10 gacha boβ€˜lgan tasodifiy sonni yaratish
$random_number = rand(1, 10);

// Tasodifiy raqamni yuborish
sendMessage($chat_id, 'Sizning tasodifiy raqamingiz: ' . $random_number);
}
}

function sendMessage($chat_id, $text) {
$url = 'https://api.telegram.org/bot' . BOT_TOKEN . '/sendMessage';

$data = array(
'chat_id' => $chat_id,
'text' => $text
);

$options = array(
'http' => array(
'header' => 'Content-type: application/x-www-form-urlencoded\r\n',
'method' => 'POST',
'content' => http_build_query($data)
)
);

$context = stream_context_create($options);
$result = file_get_contents($url, false, $context);
}

?>


#function
Manba: @PHPFunctionn
πŸ‘3❀2πŸ”₯2
yangi MyClass()->method() qavssiz

O'tgan yilning oxirida men PHP sintaksisiga o'zgartirish kiritdim, bu bizga ularga kirish uchun qavslar ichiga new ifodalarni o'rashdan qochish imkonini beradi:


Yakuniy sinf MyClass
{
const CONSTANT = 'doimiy';
public static $staticProperty = 'staticProperty';
umumiy statik funktsiya staticMethod(): string { return 'staticMethod'; }
public $property = 'mulk';
public function method(): string { return "metod"; }
umumiy funktsiya __invoke(): string { return '__invoke'; }
}

var_dump(
new MyClass()::CONSTANT, // string(8) "constant"
new MyClass()::$staticProperty, // string(14) "staticProperty"
new MyClass()::staticMethod(), // string(12) "staticMethod"
new MyClass()->xususiyat, // string(8) "xususiyati"
new MyClass()->method(), // string(6) "usul"
new MyClass()(), // string(8) "__invoke"
);

Men nihoyat ichki ma'lumotlar orqali RFCni nashr qildim! Kamida ikki hafta muhokama qilinadi, keyin ovoz berishni ochaman.

RFC: https://wiki.php.net/rfc/new_without_parentheses
Amalga oshirish va testlar: https://github.com/php/php-src/pull/13029
Muhokamani veb-saytda kuzatib borishingiz yoki axborot byulleteniga obuna bo'lishingiz va unda ishtirok etishingiz mumkin.

Manba: @PHPFunctionn
πŸ‘4πŸ”₯2❀1
<?php
session_start();
$text = $_GET["text"];
if($text == null)
{
$text = rand(11111,99999);
}
$captcha_vms = substr($text, 0, 6);
$_SESSION["captcha"] = $captcha_vms;
$target = imagecreatetruecolor(80,35);
$captcha_background = imagecolorallocate($target, 128, 128, 128);
imagefill($target,0,0,$captcha_background);
$captcha_fore_color = imagecolorallocate($target, 255, 255, 255);
imagestring($target, 8, 18, 9, $captcha_vms,$captcha_fore_color);
header("Content-type: image/png");
imagejpeg($target);

?>

Manba: @PHPFunctionn
πŸ‘3πŸ”₯2❀1
<?php
if(isset($_GET['text'])){
$a = $_GET['text'];
$b = $_GET['raqam'];
header('content-type: image/jpg');
$img = imagecreatefromjpeg('img/rasm.jpg');
$font1 = "font/font.ttf";

$white = imagecolorallocate($img, 0, 0, 0);
$txt = $a;
$x = 200;
$y = 200;
imagettftext($img, 66, 0, $x,$y, $white, $font1, $txt);

$txt1 = $b;
$x1 = 200;
$y1 = 200;
imagettftext($img, 66, 0, $x1,$y1, $white, $font1, $txt1);



imagejpeg($img,"img/goto.jpg");
header ('location: img/goto.jpg');
}
?>

IMG USTIGA TEXT YOZIB BERADI GAN API
MANBA:?
πŸ‘3❀2πŸ”₯2
Sign up(@webstile).zip
1.1 MB
πŸ”₯ Sign up Page

Manba: @webstile & @WonderfulCoders

Bu kod Foydalavuvchini roΚ»yxatdan oΚ»tish sahifasi html va css yordamida mysql baza Foydalavuvchi ismi va email pochtasi bilan sql baza saqalaydi.


Manba bilan oling!
πŸ‘3⚑2❀1πŸ”₯1🍾1
Assalomu aleykum
πŸ‘5❀2πŸ”₯2❀‍πŸ”₯1⚑1πŸ†1
Yana go?
πŸ‘4❀‍πŸ”₯3⚑2❀2πŸ”₯2πŸ†1
ℹ️ Yangi bot ochildi
πŸ”ΉUseri:
@J_CoinBot
❀2πŸ‘2πŸ”₯2⚑1❀‍πŸ”₯1πŸ†1
ℹ️ Yangi bot ochildi
πŸ”ΉUseri:
@CriptoKassaBot
πŸ†” Admin:
6570009037
πŸ‘3❀2⚑1❀‍πŸ”₯1πŸ”₯1πŸ†1