Linux ns1.utparral.edu.mx 6.8.0-79-generic #79~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 15 16:54:53 UTC 2 x86_64
Apache/2.4.58 (Unix) OpenSSL/1.1.1w PHP/8.2.12 mod_perl/2.0.12 Perl/v5.34.1
: 10.10.1.9 | : 10.10.1.254
Cant Read [ /etc/named.conf ]
daemon
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
README
+ Create Folder
+ Create File
/
usr /
share /
doc /
gjs /
examples /
[ HOME SHELL ]
Name
Size
Permission
Action
calc.js
3.59
KB
-rw-r--r--
dbus-client.js
4.73
KB
-rw-r--r--
dbus-service.js
3.43
KB
-rw-r--r--
gettext.js
630
B
-rw-r--r--
gio-cat.js
733
B
-rw-r--r--
glistmodel.js
3.73
KB
-rw-r--r--
gtk3-template.js
1.54
KB
-rw-r--r--
gtk3-template.ui
1.61
KB
-rw-r--r--
gtk4-template.js
1.59
KB
-rw-r--r--
gtk4-template.ui
1.61
KB
-rw-r--r--
gtk-application.js
3.65
KB
-rw-r--r--
gtk.js
2.53
KB
-rw-r--r--
http-client.js
1.4
KB
-rw-r--r--
http-server.js
1.19
KB
-rw-r--r--
README
77
B
-rw-r--r--
test.jpg
35.55
KB
-rw-r--r--
test.jpg.license
158
B
-rw-r--r--
timers.js
434
B
-rw-r--r--
webkit.js
485
B
-rw-r--r--
websocket-client.js
1.41
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : http-client.js
// SPDX-License-Identifier: MIT OR LGPL-2.0-or-later // SPDX-FileCopyrightText: 2019 Sonny Piers <sonny@fastmail.net> // This is a simple example of a HTTP client in Gjs using libsoup // https://developer.gnome.org/libsoup/stable/libsoup-client-howto.html const Soup = imports.gi.Soup; const GLib = imports.gi.GLib; const byteArray = imports.byteArray; const loop = GLib.MainLoop.new(null, false); const session = new Soup.Session(); const message = new Soup.Message({ method: 'GET', uri: Soup.URI.new('http://localhost:1080/hello?myname=gjs'), }); session.send_async(message, null, send_async_callback); function read_bytes_async_callback(inputStream, res) { let data; try { data = inputStream.read_bytes_finish(res); } catch (e) { logError(e); loop.quit(); return; } log(`body:\n${byteArray.toString(byteArray.fromGBytes(data))}`); loop.quit(); } function send_async_callback(self, res) { let inputStream; try { inputStream = session.send_finish(res); } catch (e) { logError(e); loop.quit(); return; } log(`status: ${message.status_code} - ${message.reason_phrase}`); message.response_headers.foreach((name, value) => { log(`${name}: ${value}`); }); inputStream.read_bytes_async(message.response_headers.get('content-length'), null, null, read_bytes_async_callback); } loop.run();
Close