Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions installation-wizard.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ def install_server():
global trash_email
global time_delay
global max_number_conn_ddos

check_dir(ultron_path)

def complete_setup():
Expand Down Expand Up @@ -155,7 +154,7 @@ def server_setup():
os.system('cp us-v1.1.6-stable.py /usr/bin/us')
os.system('chmod +x /usr/bin/us')
update_text("successfully installed ultron-server!")
except Excpetion as e:
except Exception as e:
update_text(e)

client1 = ent_client1.get()
Expand Down
21 changes: 10 additions & 11 deletions uc-v1.1.6-stable.py → uc-v1.1.7-stable.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/python3
# version 1.1.6
# version 1.1.7

# import modules
# import required modules
import os
import socket
import sys
Expand Down Expand Up @@ -52,8 +52,9 @@ class cOP:
encrypt = "000"
decrpyt = "999"
search = "876"



client_version = 'v1.1.7'

# client implementation
class TCPClient:

Expand Down Expand Up @@ -1269,8 +1270,8 @@ def client_start(self):

# help menu
def help_menu():
print("""ultron client
version 1.1.6
print(f"""ultron client
version {client_version}
uc server instructions:
usage: uc <operands> [INPUT]
--auth [TOKENFILE] # verify token validity
Expand All @@ -1282,7 +1283,6 @@ def help_menu():
--listfs --o [FILE] # list complete filesystem
--p # ping request
--r [FILE/DIR] # remove script
--sync # synchronise all data
--u [DEST_PATH, FILE] # upload selected file
--c # encrypt/decrypt server data

Expand All @@ -1293,7 +1293,6 @@ def help_menu():
update # update a selected package
search # check if the package is available
list-all # list all available packages
sync # synchronise all packages
""")


Expand All @@ -1308,7 +1307,7 @@ def check_dir(dirPath):

# opperand is not supported
def operand_unsupported():
print('Sorry. This feature is still in development and currently unavailable.')
print('This feature is still under development and currently unavailable.')
sys.exit()


Expand All @@ -1321,8 +1320,8 @@ def recieve_token(tokenfile):

# list for available options
opList = [
"-h", "--h", "-help", "--sync", "--h","--r","--d", "--p", "--b", "--u", "--updateuc", "--auth", "--listfs",
'--updateuc-devops','install', 'remove', 'search', 'update', 'list-all', 'sync', "--c"
"-h", "--h", "-help", "--h","--r","--d", "--p", "--b", "--u", "--updateuc", "--auth", "--listfs",
'--updateuc-devops','install', 'remove', 'search', 'update', 'list-all', "--c"
]


Expand Down
Loading