!C99Shell v. 2.0 [PHP 7 Update] [25.02.2019]!

Software: Apache/2.4.18 (Ubuntu). PHP/7.0.33-0ubuntu0.16.04.16 

uname -a: Linux digifus 3.13.0-57-generic #95-Ubuntu SMP Fri Jun 19 09:28:15 UTC 2015 x86_64 

uid=33(www-data) gid=33(www-data) groups=33(www-data) 

Safe-mode: OFF (not secure)

/usr/share/doc/uwsgi-core/tests/   drwxr-xr-x
Free 9.85 GB of 29.4 GB (33.5%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     queue.py (1.31 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
# uwsgi --queue 10 --queue-store test.queue --master --module tests.queue --socket :3031

import uwsgi
import os
from flask import Flask,render_template,request,redirect,flash

app = Flask(__name__)
app.debug = True
app.secret_key = os.urandom(24)

@app.route('/')
def index():

    return render_template('queue.html', uwsgi=uwsgi)

@app.route('/push', methods=['POST'])
def push_item():
    if uwsgi.queue_push(request.form['body']):
        flash('item enqueued')
        return redirect('/')
    else:
        flash('unable to enqueue item')
        return render_template('queue.html', uwsgi=uwsgi)

@app.route('/get', methods=['POST'])
def get_item():
    flash( "slot %s value = %s" % (request.form['slot'], uwsgi.queue_get( int(request.form['slot']) )))
    return redirect('/')

@app.route('/pop', methods=['POST'])
def pop_item():
    flash( "popped value = %s" %  uwsgi.queue_pop() )
    return redirect('/')

@app.route('/pull', methods=['POST'])
def pull_item():
    flash( "pulled value = %s" %  uwsgi.queue_pull() )
    return redirect('/')


@app.route('/set', methods=['POST'])
def set_item():
    if uwsgi.queue_set(int(request.form['pos']), request.form['body']):
        flash('item set')
        return redirect('/')
    else:
        flash('unable to set item')
        return render_template('queue.html', uwsgi=uwsgi)

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.0 [PHP 7 Update] [25.02.2019] maintained by KaizenLouie | C99Shell Github | Generation time: 0.0057 ]--