Skip to content
This repository has been archived by the owner on Oct 29, 2022. It is now read-only.

Commit

Permalink
History Bug Update
Browse files Browse the repository at this point in the history
  • Loading branch information
0x4248 committed May 19, 2021
1 parent 80bee04 commit 8c6c476
Show file tree
Hide file tree
Showing 9 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion Xshell/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ def check_filesystem():
Boot.Fatal_cant_boot(errorno="403",reason="Xshell can't import the module pythonping",log="none",fix="try to install the module using pip")

check_system.check_filesystem()
Boot.Host_info()
#Boot.Host_info()
Xshell_runing = True
try:
history_file_read = open("system/temp/history","r")
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.1.13
0.1.14
2 changes: 1 addition & 1 deletion Xshell/system/system64/command.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def run(command):
import os
dir = os.listdir()
wd = os.getcwd()
print("──[Directory]──["+wd+"]")
print("[Directory]──["+wd+"]")
for i in dir:
full_dir = wd+"/"+i
if os.path.isfile(full_dir) == True:
Expand Down
2 changes: 1 addition & 1 deletion Xshell/system/system64/syscore/PATH.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ def remove_path(x):
except:
return "ERROR"
def main():
x = open("system/REGISTRY/LOCAL_SYSTEM/System/PATH/VER","r")
x = open("system/REGISTRY/LOCAL_SYSTEM/PATH/VER","r")
ver = x.read()
print("Welcome to path Ver:"+ver)
while True:
Expand Down
Binary file not shown.
10 changes: 6 additions & 4 deletions Xshell/system/system64/syscore/history.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
def read():
f = open("system/temp/history","r")
import os
wd = os.getcwd()
def read():
f = open(wd+"/"+"system/temp/history","r")
x = f.read()
x = x.replace("{Xshell - History}","")
print(x)

def clear():
f = open("system/temp/history","w")
f = open(wd+"/"+"system/temp/history","w")
f.write("{Xshell - History}")

def write(command):
f = open("system/temp/history","a")
f = open(wd+"/"+"system/temp/history","a")
f.write("\n"+command)
1 change: 0 additions & 1 deletion Xshell/system/temp/OS

This file was deleted.

1 change: 0 additions & 1 deletion Xshell/system/temp/OS_NAME

This file was deleted.

0 comments on commit 8c6c476

Please sign in to comment.