I'm working with a translation program, trying to translate the following
sentence correctly:

The attacker may use a cross-site scripting attack to do this.

The program gives me:

攻撃 者 は 、 クロス サイト スクリプティング 攻撃 を 使用 し て 行 う こと が でき る 。

I don't see the direct object 'this' from the source sentence translated. If
this translated sentence followed a sentence mentioning the nature of 'this'
(as would normally be the case), would the sentence seem natural (i.e. implied
direct object referring to previous sentence)? Or does it seem like something
is missing?

I hope I made myself clear, it's kind of hard to explain what I mean...
CC BY-SA 3.0
2014-04-15T09:26:57.657
15421
2014-04-15T10:02:13.407
4793
question
translation
Is the direct object implied in this translation? Or does it seem unnatural?
That would depend on the content of the preceding sentence(s). If it explained
exactly what it is that the attacker is doing/wants to do, that Japanese
sentence would be "passable".

However, even if it were explained in the preceding sentence(s), it would
still be a good idea to insert a 「それを」 in front of the 「行う」. In fact, the
better writers would do so regardless.
CC BY-SA 3.0
2014-04-15T10:02:13.407
15422
2014-04-15T10:02:13.407
15421
answer