403Webshell
Server IP : 167.99.254.82  /  Your IP : 216.73.216.76
Web Server : Apache
System : Linux host.techisquad.com 5.15.0-187-generic #197-Ubuntu SMP Fri Jul 17 19:17:01 UTC 2026 x86_64
User : pawluxera ( 1011)
PHP Version : 8.1.34
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /home/invoices/public_html/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/invoices/public_html/Ajout_as_bl_fournisseur.php
<?php
session_start();

$link = mysqli_connect("localhost", "invoices", "9rhJvEkV15jAhJD","invoices") or die("Impossible de se connecter : " . mysqli_error());
$req = "select * from article_service where id_art_serv = $_POST[radios_as]";
$exec = mysqli_query($link,$req);
$res = mysqli_fetch_assoc($exec);
$qte = $res[qte_stock] + $_POST[qte];
//Mise a jour du stock
$reponse = "UPDATE  article_service SET prix_ht = $_POST[pr_vente], prix_achat = $_POST[pr_ac] , qte_stock = $qte where id_art_serv = $_POST[radios_as] ;";
mysqli_query($link,$reponse);
//Insertion article -> facture fournisseur
$reponse = "INSERT INTO detail_bl_fournisseur VALUES(id_detail ,'$_SESSION[r_devis]' , $_POST[radios_as] ,$_POST[qte] , $_POST[remise], $_POST[pr_ac]);";
mysqli_query($link,$reponse);

header('Location: Detail-BL-Fournisseur.php');
exit();
?>

Youez - 2016 - github.com/yon3zu
LinuXploit