Cleaned up some files

This commit is contained in:
SovereigntyIsNotFreedom 2025-04-13 16:12:39 +01:00
parent 4837034ec3
commit 4e79b26ebf
3 changed files with 8 additions and 23 deletions

View file

@ -1199,7 +1199,7 @@ Maintenance:
break break
case 11: case 11:
category = "EXTERNAL USER" category = "ExternalUser"
sensitive = "YES" sensitive = "YES"
try: try:
print_colors("1) Move entries to verified 2) Move entries from submission to unverified 3) Delete from submission file 0) exit") print_colors("1) Move entries to verified 2) Move entries from submission to unverified 3) Delete from submission file 0) exit")
@ -1214,9 +1214,9 @@ Maintenance:
print_colors(submission_df) print_colors(submission_df)
indx = int(input("Which index do you want to add? ")) indx = int(input("Which index do you want to add? "))
link = submission_df.iloc[indx]['link'] link = submission_df.iloc[indx]['link'].strip()
name = submission_df.iloc[indx]['name'] name = submission_df.iloc[indx]['name'].strip()
desc = submission_df.iloc[indx]['desc'] desc = submission_df.iloc[indx]['desc'].strip()
new_row = pd.DataFrame({'Instance': [instance], 'Category': [category], 'Name':[name],'URL':[link],'Sensitive':[sensitive],'Description':[desc],'Status':['YES'],'Score':['100']}) new_row = pd.DataFrame({'Instance': [instance], 'Category': [category], 'Name':[name],'URL':[link],'Sensitive':[sensitive],'Description':[desc],'Status':['YES'],'Score':['100']})
@ -1250,8 +1250,8 @@ Maintenance:
case 0: case 0:
break break
except: except Exception as e:
print_colors('Try again',is_error=True) print_colors(f'Try again {e}',is_error=True)
break break
break break
case 0: case 0:

View file

@ -1,2 +1,2 @@
,link,name,desc link,name,desc
0,daskd.com,myname,dasjklj f45bzecjvj6aviwkczxpr3vukapibx275hlqetrl6fo6youlsbbz2myd.onion,MyInstance,"Lantern Instance"

1 link name desc
2 0 daskd.com f45bzecjvj6aviwkczxpr3vukapibx275hlqetrl6fo6youlsbbz2myd.onion myname MyInstance dasjklj Lantern Instance

View file

@ -1,18 +1,3 @@
<?php
// Open a known directory, and proceed to read its contents
if (is_dir($dir)) {
if ($dh = opendir($dir)) {
while (($file = readdir($dh)) !== false) {
echo "filename: $file : filetype: " . filetype($dir . $file) . "\n";
}
closedir($dh);
}
}
?>
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<head> <head>