ShareShortcuts

host256

Quick details; Upcoming project Finishing by 2/20/22 Does NOT Currently Work

znugget
Bifurcar “host256”

¿Creaste algo nuevo a partir de este atajo? Compártelo como bifurcación: se convierte en un atajo tuyo, que tú administras, y ambas páginas se enlazan entre sí para que znugget reciba el crédito.

  1. 1Obtén el atajo y modifícalo en la app Atajos. Ponle un nombre propio.
  2. 2Compártelo desde la app Atajos y copia el enlace de iCloud.
  3. 3Vuelve aquí, pega el enlace y describe qué es diferente, p. ej., “Se añadió un paso que usa Apple Intelligence para personalizar el texto”.
Descargas
47K
Guardado
2
Acciones
61
Categoría
API
Versión
1.0
Idioma
EN

Quick details; Upcoming project Finishing by 2/20/22 Does NOT Currently Work

Novedades

Versión 1.0

First release

Historial de versiones
1.0 7 de oct. de 2021

First release

Qué hace

61 acciones
  1. Comment
    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.
  2. Comment
    This shortcut was created by zNugget. Any replicas of this shortcut that are posted on shareshortcuts or routinehub, will be requested for deletion.
  3. URL
    http://host256.tk
  4. Create Folder
  5. Create Folder
  6. Text
  7. Set Variable
    option_0x1
  8. Get File
  9. Text
  10. If
  11. Show Alert
    host256
  12. Save File
  13. If
  14. Comment
    here
  15. Choose from Menu
    host256
  16. Choose from Menu
    Create Host
  17. Get Contents of URL
    http://host256.tk/create.php?=requestkey
  18. Text
  19. Set Variable
    token(ltp)
  20. Copy to Clipboard
  21. Text
  22. Ask for Input
    IMPORTANT MESSAGE
  23. Choose from Menu
    Host Login
  24. Ask for Input
    Host Key:
  25. Set Variable
    option_0x2
  26. Get Contents of URL
    http://host256.tk/checkauth.php?=…
  27. Text
  28. If
  29. Show Notification
    Welcome to host256!
  30. Choose from Menu
    Server Options:
  31. Choose from Menu
    Restart Server
  32. Get Contents of URL
    http://host256.tk/restart_php?=…
  33. Wait
  34. Get Contents of URL
    http://host256.tk/isrestart.php?=…
  35. Text
  36. If
  37. Show Alert
  38. Stop This Shortcut
  39. If
  40. Show Alert
  41. Run Shortcut
    host256
  42. Choose from Menu
    Upload Files
  43. Show Notification
    Right now, you can only upload one at a time.
  44. Get File
  45. Get Contents of URL
    http://host256.tk/upload.php?=…
  46. Show Notification
    File uploaded!
  47. Run Shortcut
    host256
  48. Choose from Menu
    Browse Files
  49. Show Alert
  50. Run Shortcut
    host256
  51. Choose from Menu
    Check Server Status
  52. Get Contents of URL
    http://host256.tk/status.php?=…
  53. Show Alert
    Server Status
  54. Choose from Menu
    Exit
  55. Stop This Shortcut
  56. If
  57. Show Alert
    Error 0x0~0
  58. Choose from Menu
    Delete Host
  59. Show Alert
  60. Choose from Menu
    Exit
  61. Stop This Shortcut

Ver como código
Beta

Todas las acciones de este atajo escritas en Cherri, un lenguaje de programación para Atajos. Ideal para aprender cómo funciona.

#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()
	}
}
Abrir en Cherri Playground Descompilado con cherri 2.3.0 (GPL-2.0). Puede que necesite pequeños ajustes antes de compilarse.

Valoraciones y reseñas

Escribe una reseña
–
de 5
★★★★★
★★★★
★★★
★★
★
0 ratings

Aún no hay reseñas. ¡Sé el primero en compartir tu opinión!

Publicidad

Más de znugget

Ver todo

También te puede gustar

Ver todo
Publicidad