Projects STRLCPY Synergy-httpx Commits 729bd0ab
🤬
  • ■ ■ ■ ■ ■
    synergy_httpx_server.py
    1 1  #!/bin/python3
    2 2  #
    3  -# Author by Panagiotis Chartas (t3l3machus)
     3 +# Author: Panagiotis Chartas (t3l3machus)
    4 4  # https://github.com/t3l3machus
    5 5   
    6 6  from http.server import HTTPServer, BaseHTTPRequestHandler
    skipped 42 lines
    49 49   
    50 50  args = parser.parse_args()
    51 51   
     52 +def haxor_print(text, leading_spaces = 0):
     53 + 
     54 + text_chars = list(text)
     55 + current, mutated = '', ''
     56 + 
     57 + for i in range(len(text)):
     58 +
     59 + original = text_chars[i]
     60 + current += original
     61 + mutated += f'\033[1;38;5;82m{text_chars[i].upper()}\033[0m'
     62 + print(f'\r{" " * leading_spaces}{mutated}', end = '')
     63 + sleep(0.05)
     64 + print(f'\r{" " * leading_spaces}{current}', end = '')
     65 + mutated = current
     66 + 
     67 + print(f'\r{" " * leading_spaces}{text}\n')
     68 + 
     69 + 
    52 70  def print_banner():
    53 71   
    54 72   padding = ' '
    skipped 5 lines
    60 78   R = [['█', '▀','▀','▄', '░'], ['█', '▄','▄','▀','░'], ['▀', '░', '▀','▀','░']]
    61 79   G = [['█','▀','▀','▀', '░'], ['█', '░','▀','▄' '░'], ['▀','▀','▀','▀','░']]
    62 80   Y = [['█', '░','░','█','░'], ['█', '▄','▄','█','░'], ['▄','▄','▄','▀','░']]
    63  - H = [['░','░','░','█','░','░','','░'], ['░','░','░','█', '▀','▀','█','░'], ['░','░','░','▀','░','░','▀','░']]
     81 + H = [['░','░','░','█','░','░','','░'], ['░','░','░','█', '▀','▀','█','░'], ['░','░','░','▀','░','░','▀','░']]
    64 82   T = [['▀', '█','▀','░'], ['░', '█','░','░'], ['░', '█','░','░']]
    65 83   P = [['▄', '▀','▀','▄','░'], ['█', '▄','▄','█','░'], ['█','░','░','░','░']]
    66 84   X = [['█','░','█'], ['▄', '▀','▄'], ['▀','░','▀']]
    skipped 21 lines
    88 106   
    89 107   if charset < 2: final.append('\n ')
    90 108  
     109 +
    91 110   print(f" {''.join(final)}")
    92  - print(f'{END}{padding} by t3l3machus\n')
     111 + haxor_print('by t3l3machus', 49)
     112 + 
    93 113   
    94 114   
    95 115  def print_green(msg):
    skipped 153 lines
Please wait...
Page is in error, reload to recover