Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Server CLOUD
- -- FoxWorn3365
- -- Lato SERVER
- local modem = peripheral.wrap("top")
- -- Aspetto la richiesta
- while true do
- modem.setListening(80, true)
- local event, lato, sender, canale, msg = os.pullEvent("lan_message")
- print("Richiesta da: 144.91.97."..sender.."\nContenuto: "..msg)
- if msg == "craftabo.net" then
- modem.sendChannel(80, "Craftabo: VPS potenti a prezzi bassi\n\nCraftabo nasce nel 2021 ed e' leader nella vendita di servizi informatici.\n\nPer i piani consulta craftabo.net/plans\nPer vedere dove siamo e la potenza do banda vai su craftabo.net/power")
- elseif msg == "craftabo.net/it/" then
- modem.sendChannel(80, "Craftabo: VPS Potenti a prezzi bassi\n\nERROR_PAGE_NOT_INDICATED$atpagego\n\nVai su craftabo.net per risolvere il problema!")
- elseif msg == "craftabo.net/plans" then
- modem.sendChannel(80, "Craftabo: VPS Potenti a prezzi bassi\n\nEcco i nostri piani:\n\nVPS 250\n==========\n1MB SSD\n1GB Ram DDR5\nPer sito web\n\n7.500IC/mese\n==========\n\nPagina 2: craftabo.net/plans2")
- elseif msg == "craftabo.net/plans2" then
- modem.sendChannel(80, "Craftabo: VPS Potenti a prezzi bassi\n\nEcco i nostri piani:\n\nVPS 500\n==========\n2.5MB SSD\n1.5 GB Ram DDR6\nHTTP0 API Inclusa\nPer sito web e cloud\n\n15.000IC/mese\n==========\n\nPagina 1: craftabo.net/plans")
- elseif msg == "craftabo.net/power" then
- modem.sendChannel(80, "Craftabo: VPS Potenti a prezzi bassi\n\nLa nostra infrastruttura di server si trova a Neihemiah, sede della ClosedFiber, proprio per questo abbiamo ben 8Gbps in download e 1.5Gbps in upload!\n\nInoltre, abbiamo tecnici esperti che ogni giorno controllano i server, oltre a un pannello di controllo easy ( craftabo.net/clienti/ )")
- elseif msg == "craftabo.net/clienti/" then
- modem.sednChannel(80, "Craftabo: VPS potenti a prezzi bassi\n\nArea Personale\n\nPer accedere all'area personale recati a uno sportello CRAFTABO in una delle seguenti localita':\n- Neihemiah (Sede di Craftabo)\n- New Radeon (Negozio 1)")
- end
- sleep(0.5)
- end
Add Comment
Please, Sign In to add comment