deobfuscation in asp.net

arisse arisse 21 Reputation points
2022-04-17T21:51:52.913+00:00

how can i remove obfuscated javascript from code like this https://www.seosniffer.com tool. i want only to be using c# (console application .net framework) not javascript

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,380 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,512 questions
0 comments No comments
{count} votes

Accepted answer
  1. Bruce (SqlWork.com) 59,306 Reputation points
    2022-04-19T15:08:01.413+00:00

    Most of the JavaScript deobfuscaters are written in JavaScript. You could port one of the open source ones to C#. Or just use node to get a command line version

    https://github.com/lelinhtinh/de4js
    https://github.com/ben-sb/javascript-deobfuscator


5 additional answers

Sort by: Most helpful
  1. Karen Payne MVP 35,286 Reputation points
    2022-04-18T01:28:23.773+00:00

    If there is no copy protection, look at Jet Brains dotPeek.

    0 comments No comments

  2. arisse arisse 21 Reputation points
    2022-04-18T04:08:17.927+00:00

    @Karen Payne MVP thank you but i want a c# code on how to deobfuscate javascript in a console application like the site above


  3. arisse arisse 21 Reputation points
    2022-05-07T05:46:36.323+00:00

    this deobfuscator https://www.seosniffer.com/javascript-deobfuscator is not bad.
    is it possible to parse javascript and deobfuscate it using c#. the problem is im only good at c# and i want to biuld a deobfuscator using only c#

    0 comments No comments

  4. arisse arisse 21 Reputation points
    2022-05-07T22:08:12.853+00:00
    0 comments No comments