Page Menu
Home
Sealhub
Search
Configure Global Search
Log In
Files
F22389523
waitSocket.mjs
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Authored By
Unknown
Size
332 B
Referenced Files
None
Subscribers
None
waitSocket.mjs
View Options
import
net
from
"net"
;
import
{
exit
}
from
"process"
;
async
function
sleep
(
time
)
{
return
new
Promise
((
resolve
)
=>
setTimeout
(
resolve
,
time
));
}
while
(
true
)
{
let
socket
=
net
.
createConnection
({
port
:
3000
,
host
:
"android"
});
socket
.
on
(
"connect"
,
()
=>
{
exit
(
0
);
});
socket
.
on
(
"error"
,
()
=>
{});
await
sleep
(
200
);
}
File Metadata
Details
Attached
Mime Type
application/javascript
Expires
Fri, Nov 27, 15:16 (11 h, 37 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1226997
Default Alt Text
waitSocket.mjs (332 B)
Attached To
Mode
R134 rentgen-android
Attached
Detach File
Event Timeline