Git Product home page Git Product logo

monitor-uploader's Introduction

monitor-uploader

Monitoring Your User Uploader Activity

Installation

Required nodejs 12++

$ curl -sL https://deb.nodesource.com/setup_12.x | sudo bash -
$ sudo apt-get -y install nodejs
$ git clone https://github.com/sonofescobar1337/monitor-uploader
$ cd monitor-uploader
$ npm install
$ node index.js

Example usage

Setting aja file yang ada di server kalian yang berfungsi buat upload,dan tambahkan beberapa line
contoh seperti berikut :

<?php

$target_dir = "YOUR_PATH";
$target_file = $target_dir . basename($_FILES["fileToUpload"]["name"]);
$uploadOk = 1;


if (file_exists($target_file)) {
    echo "Sorry, file already exists.";
    $uploadOk = 0;
}

if ($_FILES["fileToUpload"]["size"] > 500000) {
    echo "Sorry, your file is too large.";
    $uploadOk = 0;
}

if ($uploadOk == 0) {
    echo "Sorry, your file was not uploaded.";

} else {
    if (move_uploaded_file($_FILES["fileToUpload"]["tmp_name"], $target_file)) {
        $path = $target_file;
        $ip = $_SERVER['REMOTE_ADDR'];
        $url = "http://localhost:3000/upload?path=" . urlencode($path) . "&ip=" .$ip;

        $ch = curl_init();
        curl_setopt($ch, CURLOPT_URL, $url);
        curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
        $response = curl_exec($ch);
        curl_close($ch);

        echo $response;
    } else {
        echo "Sorry, there was an error uploading your file.";
    }
}

?>

Bisa dilihat di example.php untuk refrensi ente.

fungsi utama

Fungsi Status
Detect When User Upload Shell Backdoor
Send Log to console
No auto delete,at least you can check the file first

Donate

Saweria
[Bitcoin] 1AeC5uQRzj8stw6zpgYctK7hSpKUZ3754a
[Ethereum and bnb] 0x03aa92f7abee133c1ee10e573757a6fdc2f544b2
[Tron TRC-20] TEXwAYqTMb5F7hDj7QnawNVYLqfyv8oNWe

Screenshots

Screenshots 1

monitor-uploader's People

Contributors

sonofescobar1337 avatar

Watchers

 avatar

Forkers

awanvenom

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.