Отсканируй на iPhone, чтобы установить
Quick details; Upcoming project Finishing by 2/20/22 Does NOT Currently Work
Что нового
Версия 1.0
First release
Что делает
Действий: 61-
CommentHello and welcome to host256! This shortcut is meant for hosting files on a free to use server. For example, if you needed to make a whitelist system, you could use host256 for it.
-
CommentThis shortcut was created by zNugget. Any replicas of this shortcut that are posted on shareshortcuts or routinehub, will be requested for deletion.
-
URLhttp://host256.tk
-
Create Folder
-
Create Folder
-
Text
-
Set Variableoption_0x1
-
Get File
-
Text
-
If
-
Show Alerthost256
-
Save File
-
If
-
Commenthere
-
Choose from Menuhost256
-
Choose from MenuCreate Host
-
Get Contents of URLhttp://host256.tk/create.php?=requestkey
-
Text
-
Set Variabletoken(ltp)
-
Copy to Clipboard
-
Text
-
Ask for InputIMPORTANT MESSAGE
-
Choose from MenuHost Login
-
Ask for InputHost Key:
-
Set Variableoption_0x2
-
Get Contents of URLhttp://host256.tk/checkauth.php?=…
-
Text
-
If
-
Show NotificationWelcome to host256!
-
Choose from MenuServer Options:
-
Choose from MenuRestart Server
-
Get Contents of URLhttp://host256.tk/restart_php?=…
-
Wait
-
Get Contents of URLhttp://host256.tk/isrestart.php?=…
-
Text
-
If
-
Show Alert
-
Stop This Shortcut
-
If
-
Show Alert
-
Run Shortcuthost256
-
Choose from MenuUpload Files
-
Show NotificationRight now, you can only upload one at a time.
-
Get File
-
Get Contents of URLhttp://host256.tk/upload.php?=…
-
Show NotificationFile uploaded!
-
Run Shortcuthost256
-
Choose from MenuBrowse Files
-
Show Alert
-
Run Shortcuthost256
-
Choose from MenuCheck Server Status
-
Get Contents of URLhttp://host256.tk/status.php?=…
-
Show AlertServer Status
-
Choose from MenuExit
-
Stop This Shortcut
-
If
-
Show AlertError 0x0~0
-
Choose from MenuDelete Host
-
Show Alert
-
Choose from MenuExit
-
Stop This Shortcut
Посмотреть как код
Все действия этой команды, записанные на Cherri — языке программирования для приложения «Быстрые команды». Отлично подходит, чтобы разобраться, как она работает.
#include 'actions/web'
#include 'actions/documents'
#define color red
#define glyph sliders
// Hello and welcome to host256! This shortcut is meant for hosting files on a free to use server. For example, if you needed to make a whitelist system, you could use host256 for it.
/*
This shortcut was created by zNugget.
Any replicas of this shortcut that are posted on shareshortcuts or routinehub, will be requested for deletion.
*/
url("http://host256.tk")
createFolder("host256")
createFolder("host256/auth")
@option_0x1 = "eula=true"
getFile("host256/auth/setup.txt", false)
const Text = "{}"
if Text !contains @option_0x1 {
alert("Hello and welcome to host256! The best shortcut server hosting. By clicking \"Ok\", you agree that we are not responsible for anything you do.", "host256")
saveFile("host256/auth/setup", @option_0x1)
} else {
// here
menu "host256 " {
item "Create Host":
jsonRequest("http://host256.tk/create.php?=requestkey", "GET", {
"request": ""
}, {
"auth": "authstatus"
})
@tokenltp = "{}"
setClipboard(@tokenltp)
prompt("IMPORTANT MESSAGE")
item "Host Login":
prompt("Host Key:")
@option_0x2
downloadURL("http://host256.tk/checkauth.php?={@option_0x2}")
const Text1 = "{}"
if Text1 contains "{@option_0x2}-authorized" {
showNotification("Welcome to host256! ", Text1)
menu "Server Options:" {
item "Restart Server":
downloadURL("http://host256.tk/restart_php?={@option_0x2}")
wait(2)
downloadURL("http://host256.tk/isrestart.php?={@option_0x2}")
const Text2 = "{}"
if Text2 contains "0" {
confirm("Error while restarting server. Please try again later.")
stop()
} else {
confirm("Successfully restarted server!")
runSelf()
}
item "Upload Files":
showNotification("Right now, you can only upload one at a time.", false)
getFile("")
downloadURL("http://host256.tk/upload.php?={@option_0x2}")
showNotification("File uploaded!", false)
runSelf()
item "Browse Files":
confirm("Maintenance required on this function. (Temporarily disabled)")
runSelf()
item "Check Server Status":
downloadURL("http://host256.tk/status.php?={@option_0x2}")
alert(, "Server Status")
item "Exit":
stop()
}
} else {
alert("Possible errors: incorrect key, network connectivity issues, server offline for maintenance.", "Error 0x0~0")
}
item "Delete Host":
confirm("N/A")
item "Exit":
stop()
}
}
Открыть в Cherri Playground
Декомпилировано с помощью cherri 2.3.0 (GPL-2.0). Перед компиляцией могут понадобиться небольшие исправления.
Оценки и отзывы
Написать отзыв–
из 5
★★★★★
★★★★
★★★
★★
★
0 ratings
Пока нет отзывов. Поделись мнением первым!
Реклама
Ещё от znugget
Вам также может понравиться
Реклама