473,763 Members | 6,666 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Is it possible to run a command on the client computer ?

I saw here

http://java.sun.com/javase/6/docs/te...ocs/index.html

that javascript has built-in methods such as cp, dir, date etc

how do i get these to run on the client computer ?

the client will be linux or osx .

May 24 '07 #1
40 2882
Lee
navti said:
>
I saw here

http://java.sun.com/javase/6/docs/te...ocs/index.html

that javascript has built-in methods such as cp, dir, date etc

how do i get these to run on the client computer ?
That page describes Javascript methods available in jrunscript,
which is not the engine you'll find in a web browser.
--

May 24 '07 #2
On May 24, 4:42 pm, Lee <REM0VElbspamt. ..@cox.netwrote :
navti said:
I saw here
http://java.sun.com/javase/6/docs/te...e/jsdocs/index....
that javascript has built-in methods such as cp, dir, date etc
how do i get these to run on the client computer ?

That page describes Javascript methods available in jrunscript,
which is not the engine you'll find in a web browser.

--
ok. so how do i do a dir of a directory and display it in the
browser ?

May 24 '07 #3
On Thu, 24 May 2007 08:44:41 -0700, navti wrote:
On May 24, 4:42 pm, Lee <REM0VElbspamt. ..@cox.netwrote :
>navti said:
>I saw here
>http://java.sun.com/javase/6/docs/te...e/jsdocs/index....
>that javascript has built-in methods such as cp, dir, date etc
>how do i get these to run on the client computer ?

That page describes Javascript methods available in jrunscript, which
is not the engine you'll find in a web browser.
ok. so how do i do a dir of a directory and display it in the browser ?
You do not have access to the local machine without having an extension
allowing that access installed on the local machine.
May 24 '07 #4
navti <na****@gmail.c omwrote in
news:11******** **************@ p47g2000hsd.goo glegroups.com:

>that javascript has built-in methods such as cp, dir, date etc
>how do i get these to run on the client computer ?

That page describes Javascript methods available in jrunscript,
which is not the engine you'll find in a web browser.

--

ok. so how do i do a dir of a directory and display it in the
browser ?
can you think of the absolute mayhem that would arise if websites could
create/alter the filesystem of the computer that the web browser/client is
on????

there is good reason that that sort of thing is not permitted with plain
ol' javascript.

May 24 '07 #5
On May 24, 5:09 pm, Good Man <h...@letsgo.co mwrote:
navti <nav...@gmail.c omwrote innews:11****** *************** *@p47g2000hsd.g ooglegroups.com :
that javascript has built-in methods such as cp, dir, date etc
how do i get these to run on the client computer ?
That page describes Javascript methods available in jrunscript,
which is not the engine you'll find in a web browser.
--
ok. so how do i do a dir of a directory and display it in the
browser ?

can you think of the absolute mayhem that would arise if websites could
create/alter the filesystem of the computer that the web browser/client is
on????

there is good reason that that sort of thing is not permitted with plain
ol' javascript.
i visited a website of an enemy and he not only did a listing of my
local files he also copied them to his server. im pretty certqain he
was using javascript.

May 24 '07 #6
On Thu, 24 May 2007 10:37:03 -0700, navti wrote:
On May 24, 5:09 pm, Good Man <h...@letsgo.co mwrote:
>navti <nav...@gmail.c omwrote innews:11****** *************** *@p47g2000hsd.g ooglegroups.com :
>that javascript has built-in methods such as cp, dir, date etc
>how do i get these to run on the client computer ?
>That page describes Javascript methods available in jrunscript,
which is not the engine you'll find in a web browser.
ok. so how do i do a dir of a directory and display it in the
browser ?

can you think of the absolute mayhem that would arise if websites could
create/alter the filesystem of the computer that the web browser/client is
on????

there is good reason that that sort of thing is not permitted with plain
ol' javascript.

i visited a website of an enemy and he not only did a listing of my
local files he also copied them to his server. im pretty certqain he
was using javascript.
No, he was not... and you must have your browser set to trust anything
that it downloads.

May 24 '07 #7
On May 24, 6:43 pm, Ivan Marsh <anno...@you.no wwrote:
On Thu, 24 May 2007 10:37:03 -0700, navti wrote:
On May 24, 5:09 pm, Good Man <h...@letsgo.co mwrote:
navti <nav...@gmail.c omwrote innews:11****** *************** *@p47g2000hsd.g ooglegroups.com :
that javascript has built-in methods such as cp, dir, date etc
how do i get these to run on the client computer ?
That page describes Javascript methods available in jrunscript,
which is not the engine you'll find in a web browser.
ok. so how do i do a dir of a directory and display it in the
browser ?
can you think of the absolute mayhem that would arise if websites could
create/alter the filesystem of the computer that the web browser/client is
on????
there is good reason that that sort of thing is not permitted with plain
ol' javascript.
i visited a website of an enemy and he not only did a listing of my
local files he also copied them to his server. im pretty certqain he
was using javascript.

No, he was not...
it all happened automatically without any intervention. i was using
win2k and ie6 at the time. i have since switched to mac os x.

have you seen the code of webattacker ?

i havent but is it not mostly javascript ?

May 24 '07 #8
On May 24, 4:22 pm, navti <nav...@gmail.c omwrote:
On May 24, 6:43 pm, Ivan Marsh <anno...@you.no wwrote:
On Thu, 24 May 2007 10:37:03 -0700, navti wrote:
On May 24, 5:09 pm, Good Man <h...@letsgo.co mwrote:
>navti <nav...@gmail.c omwrote innews:11****** *************** *@p47g2000hsd.g ooglegroups.com :
>that javascript has built-in methods such as cp, dir, date etc
>how do i get these to run on the client computer ?
>That page describes Javascript methods available in jrunscript,
>which is not the engine you'll find in a web browser.
ok. so how do i do a dir of a directory and display it in the
browser ?
>can you think of the absolute mayhem that would arise if websites could
>create/alter the filesystem of the computer that the web browser/client is
>on????
>there is good reason that that sort of thing is not permitted with plain
>ol' javascript.
i visited a website of an enemy and he not only did a listing of my
local files he also copied them to his server. im pretty certqain he
was using javascript.
No, he was not...

it all happened automatically without any intervention. i was using
win2k and ie6 at the time. i have since switched to mac os x.

have you seen the code of webattacker ?

i havent but is it not mostly javascript ?
There is a way to show all the folders of your c: drive in an iframe.
Is this what happened? Did it show your basic filesystem and merely
say it took everything? I agree with the other users, unless you
installed or accepted it cannot happen.

May 24 '07 #9
On Thu, 24 May 2007 13:22:43 -0700, navti wrote:
On May 24, 6:43 pm, Ivan Marsh <anno...@you.no wwrote:
>On Thu, 24 May 2007 10:37:03 -0700, navti wrote:
On May 24, 5:09 pm, Good Man <h...@letsgo.co mwrote:
navti <nav...@gmail.c omwrote
innews:11***** *************** **@p47g2000hsd. googlegroups.co m:
>that javascript has built-in methods such as cp, dir, date etc
>how do i get these to run on the client computer ?
>That page describes Javascript methods available in jrunscript,
which is not the engine you'll find in a web browser.
ok. so how do i do a dir of a directory and display it in the
browser ?
>can you think of the absolute mayhem that would arise if websites
could create/alter the filesystem of the computer that the web
browser/client is on????
>there is good reason that that sort of thing is not permitted with
plain ol' javascript.
i visited a website of an enemy and he not only did a listing of my
local files he also copied them to his server. im pretty certqain he
was using javascript.

No, he was not...

it all happened automatically without any intervention. i was using
win2k and ie6 at the time. i have since switched to mac os x.

have you seen the code of webattacker ?

i havent but is it not mostly javascript ?
I'm guessing it's mostly HTML... but you can't read the local file system
with HTML any more than you can with javascript.

You cannot get to the local machine without installing a conduit to the
local machine.

May 24 '07 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

20
2513
by: CHIN | last post by:
Hi all.. here s my problem ( maybe some of you saw me on other groups, but i cant find the solution !! ) I have to upload a file to an external site, so, i made a .vbs file , that logins to the site, and then i have to select the file to upload.. i used sendkeys.. and i worked perfect.. BUT ... the computer must be locked for security ( obviusly ) reazons.. so..i think this probable solutions to unlock the computer and run the...
14
2044
by: DavidNorep | last post by:
I do not know PHP, consider to write a CGI with this technology and have the following question. Is it possible to invoke a PHP script and let it endlessly wait for requests from a website (a Java applet in my case) and serve the requests when they arrive? I want to avoid loading the script for each request. In other words, can it function, in this sense, like a Java servlet?
0
9564
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10148
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10002
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9938
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9823
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8822
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5270
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5406
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3917
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.