CasperSecurity

Current Path : /var/www/atraket.uiet.co.in/v1.0/api/request/asset_acquisition/
Upload File :
Current File : /var/www/atraket.uiet.co.in/v1.0/api/request/asset_acquisition/asset_update_api.php

<?php
 
session_start();


include '../../../web/connection/connection.php';
include '../../../web/connection/functions/encryption.php';

$asset = $_REQUEST['asset'];
$assete=amebi_crypt($asset,e);
$asset_code = $_REQUEST['asset_code'];
$to_be_insured = $_REQUEST['tobeinsured'];
$amc_to_be_done = $_REQUEST['amctobedone'];
$movable = $_REQUEST['movable'];
$pmtobedone = $_REQUEST['prevmain'];
$max_lifetime = $_REQUEST['maxlife'];
$usage = $_REQUEST['usage'];
$in_asset_unit = 'No';
//$company = $_REQUEST['company'];
//$vendor = $_REQUEST['vendor'];
//$dimension = $_REQUEST['dimension'];

//$user_id = $_SESSION['USER_ID'];

$user_id = '1';
$date = date("Y-m-d");


$db_handle=new DBController();
$update=$db_handle -> runMyUpdate("UPDATE  asset SET to_be_insured='$to_be_insured',amc_to_be_done='$amc_to_be_done',
movable='$movable',pmtobedone='$pmtobedone',max_lifetime='$max_lifetime',
usagee='$usage',in_asset_unit='$in_asset_unit',modified_on = '$date',modified_by = '$user_id' WHERE  asset_code='$asset_code' ");
if($update == TRUE){ 
			
			$_SESSION['ERROR_MSG'] = "Success";
		  $_SESSION['MSG_ALRT'] = "TRUE";
		  header('location:../../../web/home/modules/setup/Assetsacqisition/edit_asset.php?ast='.$assete);
		}else{
			 $_SESSION['ERROR_MSG'] = "Unsuccess";
		  $_SESSION['MSG_ALRT'] = "FALSE";
		  header('location:../../../web/home/modules/setup/Assetsacqisition/edit_asset.php?ast='.$assete);
		}






?>
Hacker Blog, Shell İndir, Sql İnjection, XSS Attacks, LFI Attacks, Social Hacking, Exploit Bot, Proxy Tools, Web Shell, PHP Shell, Alfa Shell İndir, Hacking Training Set, DDoS Script, Denial Of Service, Botnet, RFI Attacks, Encryption
Telegram @BIBIL_0DAY