Author Topic: Errors appears after using .net reflector then compile again using Visual studio  (Read 1966 times)

0 Members and 1 Guest are viewing this topic.

Offline qespresso

  • /dev/null
  • *
  • Posts: 15
  • Cookies: -3
    • View Profile
Hi mates :),
I tried to modified some parameter in one software that using C# .net4 m so I decided to use .net reflector to decompile it. No errors during decompiling using .net reflector.
After I get the sourcecode I tried to build again but errors appear.
With my low exp in reverse engineering I would like to ask if you can help me solve this problem.
The following is the software I tried to decomplie (attached in this post)
And this is errors appears
Code: (C) [Select]
Error 2 Unexpected character '\u003E' E:\Softwares\Shared\sshchecker\dkm\Lazy SSH - Checker-kai\Form1.cs 614 22 Lazy SSH - Checker-kai
Error 5 Unexpected character '\u003E' E:\Softwares\Shared\sshchecker\dkm\Lazy SSH - Checker-kai\Form1.cs 627 32 Lazy SSH - Checker-kai
Error 7 Unexpected character '\u003E' E:\Softwares\Shared\sshchecker\dkm\Lazy SSH - Checker-kai\Form1.cs 634 89 Lazy SSH - Checker-kai
Error 10 Unexpected character '\u003E' E:\Softwares\Shared\sshchecker\dkm\Lazy SSH - Checker-kai\Form1.cs 643 34 Lazy SSH - Checker-kai
Error 12 Unexpected character '\u003E' E:\Softwares\Shared\sshchecker\dkm\Lazy SSH - Checker-kai\Form1.cs 650 91 Lazy SSH - Checker-kai
Error 14 Unexpected character '\u003E' E:\Softwares\Shared\sshchecker\dkm\Lazy SSH - Checker-kai\Form1.cs 658 89 Lazy SSH - Checker-kai
Error 16 Unexpected character '\u003E' E:\Softwares\Shared\sshchecker\dkm\Lazy SSH - Checker-kai\Form1.cs 670 22 Lazy SSH - Checker-kai
Error 18 Unexpected character '\u003E' E:\Softwares\Shared\sshchecker\dkm\Lazy SSH - Checker-kai\Form1.cs 687 89 Lazy SSH - Checker-kai
Error 20 Unexpected character '\u003E' E:\Softwares\Shared\sshchecker\dkm\Lazy SSH - Checker-kai\CheckSSH.cs 70 20 Lazy SSH - Checker-kai
Error 22 Unexpected character '\u003E' E:\Softwares\Shared\sshchecker\dkm\Lazy SSH - Checker-kai\CheckSSH.cs 85 77 Lazy SSH - Checker-kai
Error 24 Unexpected character '\u003E' E:\Softwares\Shared\sshchecker\dkm\Lazy SSH - Checker-kai\CheckSSH.cs 109 83 Lazy SSH - Checker-kai
Error 26 Unexpected character '\u003E' E:\Softwares\Shared\sshchecker\dkm\Lazy SSH - Checker-kai\CheckSSH.cs 113 83 Lazy SSH - Checker-kai
Error 28 Unexpected character '\u003E' E:\Softwares\Shared\sshchecker\dkm\Lazy SSH - Checker-kai\CheckSSH.cs 165 77 Lazy SSH - Checker-kai
Error 1 Unexpected character '\u003C' E:\Softwares\Shared\sshchecker\dkm\Lazy SSH - Checker-kai\Form1.cs 614 16 Lazy SSH - Checker-kai
Error 4 Unexpected character '\u003C' E:\Softwares\Shared\sshchecker\dkm\Lazy SSH - Checker-kai\Form1.cs 627 26 Lazy SSH - Checker-kai
Error 6 Unexpected character '\u003C' E:\Softwares\Shared\sshchecker\dkm\Lazy SSH - Checker-kai\Form1.cs 634 72 Lazy SSH - Checker-kai
Error 9 Unexpected character '\u003C' E:\Softwares\Shared\sshchecker\dkm\Lazy SSH - Checker-kai\Form1.cs 643 28 Lazy SSH - Checker-kai
Error 11 Unexpected character '\u003C' E:\Softwares\Shared\sshchecker\dkm\Lazy SSH - Checker-kai\Form1.cs 650 74 Lazy SSH - Checker-kai
Error 13 Unexpected character '\u003C' E:\Softwares\Shared\sshchecker\dkm\Lazy SSH - Checker-kai\Form1.cs 658 72 Lazy SSH - Checker-kai
Error 15 Unexpected character '\u003C' E:\Softwares\Shared\sshchecker\dkm\Lazy SSH - Checker-kai\Form1.cs 670 16 Lazy SSH - Checker-kai
Error 17 Unexpected character '\u003C' E:\Softwares\Shared\sshchecker\dkm\Lazy SSH - Checker-kai\Form1.cs 687 72 Lazy SSH - Checker-kai
Error 19 Unexpected character '\u003C' E:\Softwares\Shared\sshchecker\dkm\Lazy SSH - Checker-kai\CheckSSH.cs 70 14 Lazy SSH - Checker-kai
Error 21 Unexpected character '\u003C' E:\Softwares\Shared\sshchecker\dkm\Lazy SSH - Checker-kai\CheckSSH.cs 85 63 Lazy SSH - Checker-kai
Error 23 Unexpected character '\u003C' E:\Softwares\Shared\sshchecker\dkm\Lazy SSH - Checker-kai\CheckSSH.cs 109 69 Lazy SSH - Checker-kai
Error 25 Unexpected character '\u003C' E:\Softwares\Shared\sshchecker\dkm\Lazy SSH - Checker-kai\CheckSSH.cs 113 69 Lazy SSH - Checker-kai
Error 27 Unexpected character '\u003C' E:\Softwares\Shared\sshchecker\dkm\Lazy SSH - Checker-kai\CheckSSH.cs 165 63 Lazy SSH - Checker-kai
Error 3 Unexpected character '\u0024' E:\Softwares\Shared\sshchecker\dkm\Lazy SSH - Checker-kai\Form1.cs 627 20 Lazy SSH - Checker-kai
Error 8 Unexpected character '\u0024' E:\Softwares\Shared\sshchecker\dkm\Lazy SSH - Checker-kai\Form1.cs 643 22 Lazy SSH - Checker-kai
Error 97 The type name 'Class7' does not exist in the type 'Lazy_SSH___Checker.CheckSSH' E:\Softwares\Shared\sshchecker\dkm\Lazy SSH - Checker-kai\CheckSSH.cs 142 16 Lazy SSH - Checker-kai
Error 98 The type name 'Class7' does not exist in the type 'Lazy_SSH___Checker.CheckSSH' E:\Softwares\Shared\sshchecker\dkm\Lazy SSH - Checker-kai\CheckSSH.cs 142 45 Lazy SSH - Checker-kai
Error 75 The type name 'Class6' does not exist in the type 'Lazy_SSH___Checker.CheckSSH' E:\Softwares\Shared\sshchecker\dkm\Lazy SSH - Checker-kai\CheckSSH.cs 64 16 Lazy SSH - Checker-kai
Error 76 The type name 'Class6' does not exist in the type 'Lazy_SSH___Checker.CheckSSH' E:\Softwares\Shared\sshchecker\dkm\Lazy SSH - Checker-kai\CheckSSH.cs 64 45 Lazy SSH - Checker-kai
Error 102 The name 'b__8' does not exist in the current context E:\Softwares\Shared\sshchecker\dkm\Lazy SSH - Checker-kai\CheckSSH.cs 165 83 Lazy SSH - Checker-kai
Error 95 The name 'b__2' does not exist in the current context E:\Softwares\Shared\sshchecker\dkm\Lazy SSH - Checker-kai\CheckSSH.cs 113 89 Lazy SSH - Checker-kai
Error 90 The name 'b__1' does not exist in the current context E:\Softwares\Shared\sshchecker\dkm\Lazy SSH - Checker-kai\CheckSSH.cs 109 89 Lazy SSH - Checker-kai
Error 85 The name 'b__0' does not exist in the current context E:\Softwares\Shared\sshchecker\dkm\Lazy SSH - Checker-kai\CheckSSH.cs 85 83 Lazy SSH - Checker-kai
Error 81 The name '__this' does not exist in the current context E:\Softwares\Shared\sshchecker\dkm\Lazy SSH - Checker-kai\CheckSSH.cs 70 27 Lazy SSH - Checker-kai
Error 77 Only assignment, call, increment, decrement, await, and new object expressions can be used as a statement E:\Softwares\Shared\sshchecker\dkm\Lazy SSH - Checker-kai\CheckSSH.cs 70 7 Lazy SSH - Checker-kai
Error 78 Only assignment, call, increment, decrement, await, and new object expressions can be used as a statement E:\Softwares\Shared\sshchecker\dkm\Lazy SSH - Checker-kai\CheckSSH.cs 70 13 Lazy SSH - Checker-kai
Error 79 Only assignment, call, increment, decrement, await, and new object expressions can be used as a statement E:\Softwares\Shared\sshchecker\dkm\Lazy SSH - Checker-kai\CheckSSH.cs 70 14 Lazy SSH - Checker-kai
Error 80 Only assignment, call, increment, decrement, await, and new object expressions can be used as a statement E:\Softwares\Shared\sshchecker\dkm\Lazy SSH - Checker-kai\CheckSSH.cs 70 26 Lazy SSH - Checker-kai
Error 82 Only assignment, call, increment, decrement, await, and new object expressions can be used as a statement E:\Softwares\Shared\sshchecker\dkm\Lazy SSH - Checker-kai\CheckSSH.cs 85 62 Lazy SSH - Checker-kai
Error 83 Only assignment, call, increment, decrement, await, and new object expressions can be used as a statement E:\Softwares\Shared\sshchecker\dkm\Lazy SSH - Checker-kai\CheckSSH.cs 85 69 Lazy SSH - Checker-kai
Error 84 Only assignment, call, increment, decrement, await, and new object expressions can be used as a statement E:\Softwares\Shared\sshchecker\dkm\Lazy SSH - Checker-kai\CheckSSH.cs 85 83 Lazy SSH - Checker-kai
Error 86 Only assignment, call, increment, decrement, await, and new object expressions can be used as a statement E:\Softwares\Shared\sshchecker\dkm\Lazy SSH - Checker-kai\CheckSSH.cs 85 87 Lazy SSH - Checker-kai
Error 87 Only assignment, call, increment, decrement, await, and new object expressions can be used as a statement E:\Softwares\Shared\sshchecker\dkm\Lazy SSH - Checker-kai\CheckSSH.cs 109 68 Lazy SSH - Checker-kai
Error 88 Only assignment, call, increment, decrement, await, and new object expressions can be used as a statement E:\Softwares\Shared\sshchecker\dkm\Lazy SSH - Checker-kai\CheckSSH.cs 109 75 Lazy SSH - Checker-kai
Error 89 Only assignment, call, increment, decrement, await, and new object expressions can be used as a statement E:\Softwares\Shared\sshchecker\dkm\Lazy SSH - Checker-kai\CheckSSH.cs 109 89 Lazy SSH - Checker-kai
Error 91 Only assignment, call, increment, decrement, await, and new object expressions can be used as a statement E:\Softwares\Shared\sshchecker\dkm\Lazy SSH - Checker-kai\CheckSSH.cs 109 93 Lazy SSH - Checker-kai
Error 92 Only assignment, call, increment, decrement, await, and new object expressions can be used as a statement E:\Softwares\Shared\sshchecker\dkm\Lazy SSH - Checker-kai\CheckSSH.cs 113 68 Lazy SSH - Checker-kai
Error 93 Only assignment, call, increment, decrement, await, and new object expressions can be used as a statement E:\Softwares\Shared\sshchecker\dkm\Lazy SSH - Checker-kai\CheckSSH.cs 113 75 Lazy SSH - Checker-kai
Error 94 Only assignment, call, increment, decrement, await, and new object expressions can be used as a statement E:\Softwares\Shared\sshchecker\dkm\Lazy SSH - Checker-kai\CheckSSH.cs 113 89 Lazy SSH - Checker-kai
Error 96 Only assignment, call, increment, decrement, await, and new object expressions can be used as a statement E:\Softwares\Shared\sshchecker\dkm\Lazy SSH - Checker-kai\CheckSSH.cs 113 93 Lazy SSH - Checker-kai
Error 99 Only assignment, call, increment, decrement, await, and new object expressions can be used as a statement E:\Softwares\Shared\sshchecker\dkm\Lazy SSH - Checker-kai\CheckSSH.cs 165 62 Lazy SSH - Checker-kai
Error 100 Only assignment, call, increment, decrement, await, and new object expressions can be used as a statement E:\Softwares\Shared\sshchecker\dkm\Lazy SSH - Checker-kai\CheckSSH.cs 165 69 Lazy SSH - Checker-kai
Error 101 Only assignment, call, increment, decrement, await, and new object expressions can be used as a statement E:\Softwares\Shared\sshchecker\dkm\Lazy SSH - Checker-kai\CheckSSH.cs 165 83 Lazy SSH - Checker-kai
Error 103 Only assignment, call, increment, decrement, await, and new object expressions can be used as a statement E:\Softwares\Shared\sshchecker\dkm\Lazy SSH - Checker-kai\CheckSSH.cs 165 87 Lazy SSH - Checker-kai
Error 41 Invalid expression term ')' E:\Softwares\Shared\sshchecker\dkm\Lazy SSH - Checker-kai\CheckSSH.cs 85 87 Lazy SSH - Checker-kai
Error 43 Invalid expression term ')' E:\Softwares\Shared\sshchecker\dkm\Lazy SSH - Checker-kai\CheckSSH.cs 85 88 Lazy SSH - Checker-kai
Error 51 Invalid expression term ')' E:\Softwares\Shared\sshchecker\dkm\Lazy SSH - Checker-kai\CheckSSH.cs 109 93 Lazy SSH - Checker-kai
Error 53 Invalid expression term ')' E:\Softwares\Shared\sshchecker\dkm\Lazy SSH - Checker-kai\CheckSSH.cs 109 94 Lazy SSH - Checker-kai
Error 61 Invalid expression term ')' E:\Softwares\Shared\sshchecker\dkm\Lazy SSH - Checker-kai\CheckSSH.cs 113 93 Lazy SSH - Checker-kai
Error 63 Invalid expression term ')' E:\Softwares\Shared\sshchecker\dkm\Lazy SSH - Checker-kai\CheckSSH.cs 113 94 Lazy SSH - Checker-kai
Error 71 Invalid expression term ')' E:\Softwares\Shared\sshchecker\dkm\Lazy SSH - Checker-kai\CheckSSH.cs 165 87 Lazy SSH - Checker-kai
Error 73 Invalid expression term ')' E:\Softwares\Shared\sshchecker\dkm\Lazy SSH - Checker-kai\CheckSSH.cs 165 88 Lazy SSH - Checker-kai
Error 29 Invalid expression term '' E:\Softwares\Shared\sshchecker\dkm\Lazy SSH - Checker-kai\CheckSSH.cs 70 14 Lazy SSH - Checker-kai
Error 31 Invalid expression term '' E:\Softwares\Shared\sshchecker\dkm\Lazy SSH - Checker-kai\CheckSSH.cs 70 20 Lazy SSH - Checker-kai
Error 35 Invalid expression term '' E:\Softwares\Shared\sshchecker\dkm\Lazy SSH - Checker-kai\CheckSSH.cs 85 63 Lazy SSH - Checker-kai
Error 38 Invalid expression term '' E:\Softwares\Shared\sshchecker\dkm\Lazy SSH - Checker-kai\CheckSSH.cs 85 77 Lazy SSH - Checker-kai
Error 45 Invalid expression term '' E:\Softwares\Shared\sshchecker\dkm\Lazy SSH - Checker-kai\CheckSSH.cs 109 69 Lazy SSH - Checker-kai
Error 48 Invalid expression term '' E:\Softwares\Shared\sshchecker\dkm\Lazy SSH - Checker-kai\CheckSSH.cs 109 83 Lazy SSH - Checker-kai
Error 55 Invalid expression term '' E:\Softwares\Shared\sshchecker\dkm\Lazy SSH - Checker-kai\CheckSSH.cs 113 69 Lazy SSH - Checker-kai
Error 58 Invalid expression term '' E:\Softwares\Shared\sshchecker\dkm\Lazy SSH - Checker-kai\CheckSSH.cs 113 83 Lazy SSH - Checker-kai
Error 65 Invalid expression term '' E:\Softwares\Shared\sshchecker\dkm\Lazy SSH - Checker-kai\CheckSSH.cs 165 63 Lazy SSH - Checker-kai
Error 68 Invalid expression term '' E:\Softwares\Shared\sshchecker\dkm\Lazy SSH - Checker-kai\CheckSSH.cs 165 77 Lazy SSH - Checker-kai
Error 30 Identifier expected E:\Softwares\Shared\sshchecker\dkm\Lazy SSH - Checker-kai\CheckSSH.cs 70 14 Lazy SSH - Checker-kai
Error 36 Identifier expected E:\Softwares\Shared\sshchecker\dkm\Lazy SSH - Checker-kai\CheckSSH.cs 85 63 Lazy SSH - Checker-kai
Error 46 Identifier expected E:\Softwares\Shared\sshchecker\dkm\Lazy SSH - Checker-kai\CheckSSH.cs 109 69 Lazy SSH - Checker-kai
Error 56 Identifier expected E:\Softwares\Shared\sshchecker\dkm\Lazy SSH - Checker-kai\CheckSSH.cs 113 69 Lazy SSH - Checker-kai
Error 66 Identifier expected E:\Softwares\Shared\sshchecker\dkm\Lazy SSH - Checker-kai\CheckSSH.cs 165 63 Lazy SSH - Checker-kai
Error 32 ; expected E:\Softwares\Shared\sshchecker\dkm\Lazy SSH - Checker-kai\CheckSSH.cs 70 20 Lazy SSH - Checker-kai
Error 33 ; expected E:\Softwares\Shared\sshchecker\dkm\Lazy SSH - Checker-kai\CheckSSH.cs 70 26 Lazy SSH - Checker-kai
Error 34 ; expected E:\Softwares\Shared\sshchecker\dkm\Lazy SSH - Checker-kai\CheckSSH.cs 70 27 Lazy SSH - Checker-kai
Error 37 ; expected E:\Softwares\Shared\sshchecker\dkm\Lazy SSH - Checker-kai\CheckSSH.cs 85 69 Lazy SSH - Checker-kai
Error 39 ; expected E:\Softwares\Shared\sshchecker\dkm\Lazy SSH - Checker-kai\CheckSSH.cs 85 77 Lazy SSH - Checker-kai
Error 40 ; expected E:\Softwares\Shared\sshchecker\dkm\Lazy SSH - Checker-kai\CheckSSH.cs 85 83 Lazy SSH - Checker-kai
Error 42 ; expected E:\Softwares\Shared\sshchecker\dkm\Lazy SSH - Checker-kai\CheckSSH.cs 85 87 Lazy SSH - Checker-kai
Error 44 ; expected E:\Softwares\Shared\sshchecker\dkm\Lazy SSH - Checker-kai\CheckSSH.cs 85 88 Lazy SSH - Checker-kai
Error 47 ; expected E:\Softwares\Shared\sshchecker\dkm\Lazy SSH - Checker-kai\CheckSSH.cs 109 75 Lazy SSH - Checker-kai
Error 49 ; expected E:\Softwares\Shared\sshchecker\dkm\Lazy SSH - Checker-kai\CheckSSH.cs 109 83 Lazy SSH - Checker-kai
Error 50 ; expected E:\Softwares\Shared\sshchecker\dkm\Lazy SSH - Checker-kai\CheckSSH.cs 109 89 Lazy SSH - Checker-kai
Error 52 ; expected E:\Softwares\Shared\sshchecker\dkm\Lazy SSH - Checker-kai\CheckSSH.cs 109 93 Lazy SSH - Checker-kai
Error 54 ; expected E:\Softwares\Shared\sshchecker\dkm\Lazy SSH - Checker-kai\CheckSSH.cs 109 94 Lazy SSH - Checker-kai
Error 57 ; expected E:\Softwares\Shared\sshchecker\dkm\Lazy SSH - Checker-kai\CheckSSH.cs 113 75 Lazy SSH - Checker-kai
Error 59 ; expected E:\Softwares\Shared\sshchecker\dkm\Lazy SSH - Checker-kai\CheckSSH.cs 113 83 Lazy SSH - Checker-kai
Error 60 ; expected E:\Softwares\Shared\sshchecker\dkm\Lazy SSH - Checker-kai\CheckSSH.cs 113 89 Lazy SSH - Checker-kai
Error 62 ; expected E:\Softwares\Shared\sshchecker\dkm\Lazy SSH - Checker-kai\CheckSSH.cs 113 93 Lazy SSH - Checker-kai
Error 64 ; expected E:\Softwares\Shared\sshchecker\dkm\Lazy SSH - Checker-kai\CheckSSH.cs 113 94 Lazy SSH - Checker-kai
Error 67 ; expected E:\Softwares\Shared\sshchecker\dkm\Lazy SSH - Checker-kai\CheckSSH.cs 165 69 Lazy SSH - Checker-kai
Error 69 ; expected E:\Softwares\Shared\sshchecker\dkm\Lazy SSH - Checker-kai\CheckSSH.cs 165 77 Lazy SSH - Checker-kai
Error 70 ; expected E:\Softwares\Shared\sshchecker\dkm\Lazy SSH - Checker-kai\CheckSSH.cs 165 83 Lazy SSH - Checker-kai
Error 72 ; expected E:\Softwares\Shared\sshchecker\dkm\Lazy SSH - Checker-kai\CheckSSH.cs 165 87 Lazy SSH - Checker-kai
Error 74 ; expected E:\Softwares\Shared\sshchecker\dkm\Lazy SSH - Checker-kai\CheckSSH.cs 165 88 Lazy SSH - Checker-kai


Offline Deque

  • P.I.N.N.
  • Global Moderator
  • Overlord
  • *
  • Posts: 1203
  • Cookies: 518
  • Programmer, Malware Analyst
    • View Profile
That's quite normal. Decompiling isn't perfect.
You need to fix every error by hand before recompilation. Look into the code where the line numbers of the error messages point to and fix it.