elhacker.net cabecera Bienvenido(a), Visitante. Por favor Ingresar o Registrarse
¿Perdiste tu email de activación?.

 

 


Tema destacado: AIO elhacker.NET 2021 Compilación herramientas análisis y desinfección malware


  Mostrar Mensajes
Páginas: 1 2 3 4 5 6 7 8 9 10 [11] 12 13 14 15 16 17 18
101  Comunicaciones / Redes / Re: MODEM/ROUTER vs. modem tp-link en: 19 Diciembre 2020, 13:01 pm
Un saludo, sin hacer nada, en vez de poner la IP de la WEB, pon la IP asignada al Rúter o Modem y acederas a la Configuración igualmente.
102  Programación / Ingeniería Inversa / Re: Crackear un programa en: 16 Diciembre 2020, 23:41 pm
https://t.me/crackslatinos   pideselo
103  Programación / Ingeniería Inversa / Re: Un poco de info en: 16 Diciembre 2020, 23:25 pm
Hay que entender las estructuras, tanto de lo que se ejecuta en tu dispositivo, como los protocolos de comunicación, como lo que se ejecuta En los servidores remotos.
Todos tienden a optimizar el rendimiento con respecto a la calidad, mucha calidad supone que tu dispositivo hará la mayor parte del trabajo, incluso habrá en algunos casos comunicaciones entre los dispositivos de los usuarios…………………. Etc..    es un mundo intrigante.
104  Programación / Ingeniería Inversa / Re: Estructuras Binarias x86-64 en: 14 Diciembre 2020, 19:30 pm
Constantes


Código
  1.  public static string Language_Int(string Maquina)
  2.    {
  3.        var Machine = new Dictionary<string, string>
  4.        {
  5.  
  6.            ["1025"] = "Arabic - Saudi Arabia",  // ar-SA
  7.            ["1026"] = "Bulgarian",  // bg-BG
  8.            ["1027"] = "Catalan",  // ca-ES
  9.            ["1028"] = "Chinese - Taiwan",  // zh-TW
  10.            ["1029"] = "Czech",  // cs-CZ
  11.            ["1030"] = "Danish",  // da-DK
  12.            ["1031"] = "German - Germany",  // de-DE
  13.            ["1032"] = "Greek",  // el-GR
  14.            ["1033"] = "English - United States",  // en-US
  15.            ["1034"] = "Spanish - Spain (Traditional Sort)",  // es-ES
  16.            ["1035"] = "Finnish",  // fi-FI
  17.            ["1036"] = "French - France",  // fr-FR
  18.            ["1037"] = "Hebrew",  // he-IL
  19.            ["1038"] = "Hungarian",  // hu-HU
  20.            ["1039"] = "Icelandic",  // is-IS
  21.            ["1040"] = "Italian - Italy",  // it-IT
  22.            ["1041"] = "Japanese",  // ja-JP
  23.            ["1042"] = "Korean",  // ko-KR
  24.            ["1043"] = "Dutch - Netherlands",  // nl-NL
  25.            ["1044"] = "Norwegian (Bokmål)",  // nb-NO
  26.            ["1045"] = "Polish",  // pl-PL
  27.            ["1046"] = "Portuguese - Brazil",  // pt-BR
  28.            ["1047"] = "Rhaeto-Romanic",  // rm-CH
  29.            ["1048"] = "Romanian",  // ro-RO
  30.            ["1049"] = "Russian",  // ru-RU
  31.            ["1050"] = "Croatian",  // hr-HR
  32.            ["1051"] = "Slovak",  // sk-SK
  33.            ["1052"] = "Albanian - Albania",  // sq-AL
  34.            ["1053"] = "Swedish",  // sv-SE
  35.            ["1054"] = "Thai",  // th-TH
  36.            ["1055"] = "Turkish",  // tr-TR
  37.            ["1056"] = "Urdu - Pakistan",  // ur-PK
  38.            ["1057"] = "Indonesian",  // id-ID
  39.            ["1058"] = "Ukrainian",  // uk-UA
  40.            ["1059"] = "Belarusian",  // be-BY
  41.            ["1060"] = "Slovenian",  // sl-SI
  42.            ["1061"] = "Estonian",  // et-EE
  43.            ["1062"] = "Latvian",  // lv-LV
  44.            ["1063"] = "Lithuanian",  // lt-LT
  45.            ["1064"] = "Tajik",  // tg-Cyrl-TJ
  46.            ["1065"] = "Persian",  // fa-IR
  47.            ["1066"] = "Vietnamese",  // vi-VN
  48.            ["1067"] = "Armenian - Armenia",  // hy-AM
  49.            ["1068"] = "Azeri (Latin)",  // az-Latn-AZ
  50.            ["1069"] = "Basque",  // eu-ES
  51.            ["1070"] = "Sorbian",  // wen-DE
  52.            ["1071"] = "F.Y.R.O. Macedonian",  // mk-MK
  53.            ["1072"] = "Sutu",  // st-ZA
  54.            ["1073"] = "Tsonga",  // ts-ZA
  55.            ["1074"] = "Tswana",  // tn-ZA
  56.            ["1075"] = "Venda",  // ven-ZA
  57.            ["1076"] = "Xhosa",  // xh-ZA
  58.            ["1077"] = "Zulu",  // zu-ZA
  59.            ["1078"] = "Afrikaans - South Africa",  // af-ZA
  60.            ["1079"] = "Georgian",  // ka-GE
  61.            ["1080"] = "Faroese",  // fo-FO
  62.            ["1081"] = "Hindi",  // hi-IN
  63.            ["1082"] = "Maltese",  // mt-MT
  64.            ["1083"] = "Sami",  // se-NO
  65.            ["1084"] = "Gaelic (Scotland)",  // gd-GB
  66.            ["1085"] = "Yiddish",  // yi
  67.            ["1086"] = "Malay - Malaysia",  // ms-MY
  68.            ["1087"] = "Kazakh",  // kk-KZ
  69.            ["1088"] = "Kyrgyz (Cyrillic)",  // ky-KG
  70.            ["1089"] = "Swahili",  // sw-que
  71.            ["1090"] = "Turkmen",  // tk-TM
  72.            ["1091"] = "Uzbek (Latin)",  // uz-Latn-UZ
  73.            ["1092"] = "Tatar",  // tt-RU
  74.            ["1093"] = "Bengali (India)",  // bn-IN
  75.            ["1094"] = "Punjabi",  // pa-IN
  76.            ["1095"] = "Gujarati",  // gu-IN
  77.            ["1096"] = "Oriya",  // or-IN
  78.            ["1097"] = "Tamil",  // ta-IN
  79.            ["1098"] = "Telugu",  // te-IN
  80.            ["1099"] = "Kannada",  // kn-IN
  81.            ["1100"] = "Malayalam",  // ml-IN
  82.            ["1101"] = "Assamese",  // as-IN
  83.            ["1102"] = "Marathi",  // mr-IN
  84.            ["1103"] = "Sanskrit",  // sa-IN
  85.            ["1104"] = "Mongolian (Cyrillic)",  // mn-MN
  86.            ["1105"] = "Tibetan - People's Republic of China",  // bo-CN
  87.            ["1106"] = "Welsh",  // cy-GB
  88.            ["1107"] = "Khmer",  // km-KH
  89.            ["1108"] = "Lao",  // lo-LA
  90.            ["1109"] = "Burmese",  // my-MM
  91.            ["1110"] = "Galician",  // gl-ES
  92.            ["1111"] = "Konkani",  // kok-IN
  93.            ["1112"] = "Manipuri",  // mni
  94.            ["1113"] = "Sindhi - India",  // sd-IN
  95.            ["1114"] = "Syriac",  // syr-SY
  96.            ["1115"] = "Sinhalese - Sri Lanka",  // si-LK
  97.            ["1116"] = "Cherokee - United States",  // chr-US
  98.            ["1117"] = "Inuktitut",  // iu-Cans-CA
  99.            ["1118"] = "Amharic - Ethiopia",  // am-ET
  100.            ["1119"] = "Tamazight (Arabic)",  // tmz
  101.            ["1120"] = "Kashmiri (Arabic)",  // ks-Arab-IN
  102.            ["1121"] = "Nepali",  // ne-NP
  103.            ["1122"] = "Frisian - Netherlands",  // fy-NL
  104.            ["1123"] = "Pashto",  // ps-AF
  105.            ["1124"] = "Filipino",  // fil-PH
  106.            ["1125"] = "Divehi",  // dv-MV
  107.            ["1126"] = "Edo",  // bin-NG
  108.            ["1127"] = "Fulfulde - Nigeria",  // fuv-NG
  109.            ["1128"] = "Hausa - Nigeria",  // ha-Latn-NG
  110.            ["1129"] = "Ibibio - Nigeria",  // ibb-NG
  111.            ["1130"] = "Yoruba",  // yo-NG
  112.            ["1131"] = "Quecha - Bolivia",  // quz-BO
  113.            ["1132"] = "Sepedi",  // nso-ZA
  114.            ["1136"] = "Igbo - Nigeria",  // ig-NG
  115.            ["1137"] = "Kanuri - Nigeria",  // kr-NG
  116.            ["1138"] = "Oromo",  // gaz-ET
  117.            ["1139"] = "Tigrigna - Ethiopia",  // ti-ER
  118.            ["1140"] = "Guarani - Paraguay",  // gn-PY
  119.            ["1141"] = "Hawaiian - United States",  // haw-US
  120.            ["1142"] = "Latin",  // la
  121.            ["1143"] = "Somali",  // so-SO
  122.            ["1144"] = "Yi",  // ii-CN
  123.            ["1145"] = "Papiamentu",  // pap-AN
  124.            ["1152"] = "Uighur - China",  // ug-Arab-CN
  125.            ["1153"] = "Maori - New Zealand",  // mi-NZ
  126.            ["2049"] = "Arabic - Iraq",  // ar-IQ
  127.            ["2052"] = "Chinese - People's Republic of China",  // zh-CN
  128.            ["2055"] = "German - Switzerland",  // de-CH
  129.            ["2057"] = "English - United Kingdom",  // en-GB
  130.            ["2058"] = "Spanish - Mexico",  // es-MX
  131.            ["2060"] = "French - Belgium",  // fr-BE
  132.            ["2064"] = "Italian - Switzerland",  // it-CH
  133.            ["2067"] = "Dutch - Belgium",  // nl-BE
  134.            ["2068"] = "Norwegian (Nynorsk)",  // nn-NO
  135.            ["2070"] = "Portuguese - Portugal",  // pt-PT
  136.            ["2072"] = "Romanian - Moldava",  // ro-MD
  137.            ["2073"] = "Russian - Moldava",  // ru-MD
  138.            ["2074"] = "Serbian (Latin)",  // sr-Latn-CS
  139.            ["2077"] = "Swedish - Finland",  // sv-FI
  140.            ["2080"] = "Urdu - India",  // ur-IN
  141.            ["2092"] = "Azeri (Cyrillic)",  // az-Cyrl-AZ
  142.            ["2108"] = "Gaelic (Ireland)",  // ga-IE
  143.            ["2110"] = "Malay - Brunei Darussalam",  // ms-BN
  144.            ["2115"] = "Uzbek (Cyrillic)",  // uz-Cyrl-UZ
  145.            ["2117"] = "Bengali (Bangladesh)",  // bn-BD
  146.            ["2118"] = "Punjabi (Pakistan)",  // pa-PK
  147.            ["2128"] = "Mongolian (Mongolian)",  // mn-Mong-CN
  148.            ["2129"] = "Tibetan - Bhutan",  // bo-BT
  149.            ["2137"] = "Sindhi - Pakistan",  // sd-PK
  150.            ["2143"] = "Tamazight (Latin)",  // tzm-Latn-DZ
  151.            ["2144"] = "Kashmiri (Devanagari)",  // ks-Deva-IN
  152.            ["2145"] = "Nepali - India",  // ne-IN
  153.            ["2155"] = "Quecha - Ecuador",  // quz-EC
  154.            ["2163"] = "Tigrigna - Eritrea",  // ti-ET
  155.            ["3073"] = "Arabic - Egypt",  // ar-EG
  156.            ["3076"] = "Chinese - Hong Kong SAR",  // zh-HK
  157.            ["3079"] = "German - Austria",  // de-AT
  158.            ["3081"] = "English - Australia",  // en-AU
  159.            ["3082"] = "Spanish - Spain (Modern Sort)",  // es-ES
  160.            ["3084"] = "French - Canada",  // fr-CA
  161.            ["3098"] = "Serbian (Cyrillic)",  // sr-Cyrl-CS
  162.            ["3179"] = "Quecha - Peru",  // quz-PE
  163.            ["4097"] = "Arabic - Libya",  // ar-LY
  164.            ["4100"] = "Chinese - Singapore",  // zh-SG
  165.            ["4103"] = "German - Luxembourg",  // de-LU
  166.            ["4105"] = "English - Canada",  // en-CA
  167.            ["4106"] = "Spanish - Guatemala",  // es-GT
  168.            ["4108"] = "French - Switzerland",  // fr-CH
  169.            ["4122"] = "Croatian (Bosnia/Herzegovina)",  // hr-BA
  170.            ["5121"] = "Arabic - Algeria",  // ar-DZ
  171.            ["5124"] = "Chinese - Macao SAR",  // zh-MO
  172.            ["5127"] = "German - Liechtenstein",  // de-LI
  173.            ["5129"] = "English - New Zealand",  // en-NZ
  174.            ["5130"] = "Spanish - Costa Rica",  // es-CR
  175.            ["5132"] = "French - Luxembourg",  // fr-LU
  176.            ["5146"] = "Bosnian (Bosnia/Herzegovina)",  // bs-Latn-BA
  177.            ["6145"] = "Arabic - Morocco",  // ar-MO
  178.            ["6153"] = "English - Ireland",  // en-IE
  179.            ["6154"] = "Spanish - Panama",  // es-PA
  180.            ["6156"] = "French - Monaco",  // fr-MC
  181.            ["7169"] = "Arabic - Tunisia",  // ar-TN
  182.            ["7177"] = "English - South Africa",  // en-ZA
  183.            ["7178"] = "Spanish - Dominican Republic",  // es-DO
  184.            ["7180"] = "French - West Indies",  // fr-029
  185.            ["8193"] = "Arabic - Oman",  // ar-OM
  186.            ["8201"] = "English - Jamaica",  // en-JM
  187.            ["8202"] = "Spanish - Venezuela",  // es-VE
  188.            ["8204"] = "French - Reunion",  // fr-RE
  189.            ["9217"] = "Arabic - Yemen",  // ar-YE
  190.            ["9225"] = "English - Caribbean",  // en-029
  191.            ["9226"] = "Spanish - Colombia",  // es-CO
  192.            ["9228"] = "French - Democratic Rep. of Congo",  // fr-CG
  193.            ["10241"] = "Arabic - Syria",  // ar-SY
  194.            ["10249"] = "English - Belize",  // en-BZ
  195.            ["10250"] = "Spanish - Peru",  // es-PE
  196.            ["10252"] = "French - Senegal",  // fr-SN
  197.            ["11265"] = "Arabic - Jordan",  // ar-JO
  198.            ["11273"] = "English - Trinidad",  // en-TT
  199.            ["11274"] = "Spanish - Argentina",  // es-AR
  200.            ["11276"] = "French - Cameroon",  // fr-CM
  201.            ["12289"] = "Arabic - Lebanon",  // ar-LB
  202.            ["12297"] = "English - Zimbabwe",  // en-ZW
  203.            ["12298"] = "Spanish - Ecuador",  // es-EC
  204.            ["12300"] = "French - Cote d'Ivoire",  // fr-CI
  205.            ["13313"] = "Arabic - Kuwait",  // ar-KW
  206.            ["13321"] = "English - Philippines",  // en-PH
  207.            ["13322"] = "Spanish - Chile",  // es-CL
  208.            ["13324"] = "French - Mali",  // fr-ML
  209.            ["14337"] = "Arabic - U.A.E.",  // ar-AE
  210.            ["14345"] = "English - Indonesia",  // en-ID
  211.            ["14346"] = "Spanish - Uruguay",  // es-UY
  212.            ["14348"] = "French - Morocco",  // fr-MA
  213.            ["15361"] = "Arabic - Bahrain",  // ar-BH
  214.            ["15369"] = "English - Hong Kong SAR",  // en-HK
  215.            ["15370"] = "Spanish - Paraguay",  // es-PY
  216.            ["15372"] = "French - Haiti",  // fr-HT
  217.            ["16385"] = "Arabic - Qatar",  // ar-QA
  218.            ["16393"] = "English - India",  // en-IN
  219.            ["16394"] = "Spanish - Bolivia",  // es-BO
  220.            ["17417"] = "English - Malaysia",  // en-MY
  221.            ["17418"] = "Spanish - El Salvador",  // es-SV
  222.            ["18441"] = "English - Singapore",  // en-SG
  223.            ["18442"] = "Spanish - Honduras",  // es-HN
  224.            ["19466"] = "Spanish - Nicaragua",  // es-NI
  225.            ["20490"] = "Spanish - Puerto Rico",  // es-PR
  226.            ["21514"] = "Spanish - United States",  // es-US
  227.            ["58378"] = "Spanish - Latin America",  // es-419
  228.            ["58380"] = "French - North Africa",  // fr-015
  229.            ["None"] = Maquina + " None" // return new
  230.  
  231.        };
  232.  
  233.        if (Machine.ContainsKey(Maquina) == false) { Maquina = "None"; }
  234.  
  235.        return Machine[Maquina];
  236.    }
  237. public static string RESOURSE_VS_FIXEDFILEINFO_dwFileFlags(string Maquina)
  238.    {
  239.        var Machine = new Dictionary<string, string>
  240.        {
  241.  
  242.            ["00000001"] = "VS_FF_DEBUG",  //  El archivo contiene información de depuración o se compila con las funciones de depuración habilitadas.
  243.  
  244.            ["00000010"] = "VS_FF_INFOINFERRED",  // La estructura de la versión del archivo se creó de forma dinámica; por lo tanto, algunos de los miembros de esta estructura pueden estar vacíos o incorrectos. Esta bandera nunca debe establecerse en los datos VS_VERSIONINFO de un archivo.
  245.  
  246.            ["00000004"] = "VS_FF_PATCHED",  // El archivo ha sido modificado y no es idéntico al archivo de envío original del mismo número de versión.
  247.  
  248.            ["00000002"] = "VS_FF_PRERELEASE",  // El archivo es una versión de desarrollo, no un producto comercializado.
  249.  
  250.            ["00000008"] = "VS_FF_PRIVATEBUILD",  // El archivo no se creó utilizando los procedimientos de publicación estándar.Si se establece este indicador, la estructura StringFileInfo debe contener una entrada PrivateBuild entry.
  251.  
  252.  
  253.            ["00000020"] = "VS_FF_SPECIALBUILD",  // El archivo fue creado por la empresa original utilizando procedimientos de publicación estándar, pero es una variación del archivo normal del mismo número de versión. Si se establece este indicador, la estructura StringFileInfo debe contener una entrada SpecialBuild entry.
  254.  
  255.            ["None"] = Maquina + " None"  // return new
  256.  
  257.        };
  258.  
  259.        if (Machine.ContainsKey(Maquina) == false) { Maquina = "None"; }
  260.  
  261.        return Machine[Maquina];
  262.    }
  263.  
  264.    public static string RESOURSE_VS_FIXEDFILEINFO_dwFileOS(string Maquina)
  265.    {
  266.        var Machine = new Dictionary<string, string>
  267.        {
  268.  
  269.            ["00010000"] = "VOS_DOS",  //The file was designed for MS-DOS.
  270.            ["00040000"] = "VOS_NT",  //The file was designed for Windows NT.
  271.            ["00000001"] = "VOS__WINDOWS16",  //The file was designed for 16-bit Windows.
  272.            ["00000004L"] = "VOS__WINDOWS32",  //The file was designed for 32-bit Windows.
  273.            ["00020000L"] = "VOS_OS216",  //The file was designed for 16-bit OS/2.
  274.            ["00030000L"] = "VOS_OS232",  //The file was designed for 32-bit OS/2.
  275.            ["00000002L"] = "VOS__PM16",  //The file was designed for 16-bit Presentation Manager.
  276.            ["00000003L"] = "VOS__PM32",  //The file was designed for 32-bit Presentation Manager.
  277.            ["00000000L"] = "VOS_UNKNOWN",  //The operating system for which the file was designed is unknown to the system.
  278.            ["00010001"] = "VOS_DOS_WINDOWS16",  //The file was designed for 16-bit Windows running on MS-DOS.
  279.            ["00010004"] = "VOS_DOS_WINDOWS32",  //The file was designed for 32-bit Windows running on MS-DOS.
  280.            ["00040004"] = "VOS_NT_WINDOWS32",  //The file was designed for Windows NT.
  281.            ["00020002"] = "VOS_OS216_PM16",  //The file was designed for 16-bit Presentation Manager running on 16-bit OS/2.
  282.            ["00030003"] = "VOS_OS232_PM32",  //The file was designed for 32-bit Presentation Manager running on 32-bit OS/2.
  283.            ["None"] = Maquina + " None"  // return new
  284.  
  285.        };
  286.  
  287.        if (Machine.ContainsKey(Maquina) == false) { Maquina = "None"; }
  288.  
  289.        return Machine[Maquina];
  290.    }
  291.  
  292.    public static string RESOURSE_VS_FIXEDFILEINFO_dwFileType(string Maquina)
  293.    {
  294.        var Machine = new Dictionary<string, string>
  295.        {
  296.  
  297.            ["00000001"] = "VFT_APP",  //The file contains an application.
  298.            ["00000002"] = "VFT_DLL",  //The file contains a DLL.
  299.            ["00000003"] = "VFT_DRV",  //The file contains a device driver. If dwFileType is VFT_DRV, dwFileSubtype contains a more specific description of the driver.
  300.            ["00000004"] = "VFT_FONT",  //The file contains a font. If dwFileType is VFT_FONT, dwFileSubtype contains a more specific description of the font file.
  301.            ["00000007"] = "VFT_STATIC_LIB",  //The file contains a static-link library.
  302.            ["00000000"] = "VFT_UNKNOWN",  //The file type is unknown to the system.
  303.            ["00000005"] = "VFT_VXD",  //The file contains a virtual device.
  304.            ["None"] = Maquina + " None"  // return new
  305.  
  306.        };
  307.  
  308.        if (Machine.ContainsKey(Maquina) == false) { Maquina = "None"; }
  309.  
  310.        return Machine[Maquina];
  311.    }
  312.  
  313.    // Todos los valores de dwFileSubtype que no se enumeran aquí están reservados.
  314.    public static string RESOURSE_VS_FIXEDFILEINFO_VFT_DRV_dwFileSubtype_(string Maquina)
  315.    {
  316.        var Machine = new Dictionary<string, string>
  317.        {
  318.  
  319.            ["0000000A"] = "VFT2_DRV_COMM",  //The file contains a communications driver.
  320.            ["00000004"] = "VFT2_DRV_DISPLAY",  //The file contains a display driver.
  321.            ["00000008"] = "VFT2_DRV_INSTALLABLE",  //The file contains an installable driver.
  322.            ["00000002"] = "VFT2_DRV_KEYBOARD",  //The file contains a keyboard driver.
  323.            ["00000003"] = "VFT2_DRV_LANGUAGE",  //The file contains a language driver.
  324.            ["00000005"] = "VFT2_DRV_MOUSE",  //The file contains a mouse driver.
  325.            ["00000006"] = "VFT2_DRV_NETWORK",  //The file contains a network driver.
  326.            ["00000001"] = "VFT2_DRV_PRINTER",  //The file contains a printer driver.
  327.            ["00000009"] = "VFT2_DRV_SOUND",  //The file contains a sound driver.
  328.            ["00000007"] = "VFT2_DRV_SYSTEM",  //The file contains a system driver.
  329.            ["0000000C"] = "VFT2_DRV_VERSIONED_PRINTER",  //The file contains a versioned printer driver.
  330.            ["00000000"] = "VFT2_UNKNOWN",  //The driver type is unknown by the system.
  331.  
  332.            ["None"] = Maquina + " None"  // return new
  333.  
  334.        };
  335.  
  336.        if (Machine.ContainsKey(Maquina) == false) { Maquina = "None"; }
  337.  
  338.        return Machine[Maquina];
  339.    }
  340.    public static string RESOURSE_VS_FIXEDFILEINFO_VFT_FONT_dwFileSubtype_(string Maquina)
  341.    {
  342.        var Machine = new Dictionary<string, string>
  343.        {
  344.  
  345.            ["00000001"] = "VFT2_FONT_RASTER",  //The file contains a raster font.
  346.            ["00000003"] = "VFT2_FONT_TRUETYPE",  //The file contains a TrueType font.
  347.            ["00000002"] = "VFT2_FONT_VECTOR",  //The file contains a vector font.
  348.            ["00000000"] = "VFT2_UNKNOWN",  //The font type is unknown by the system.
  349.            ["None"] = Maquina + " None"  // return new
  350.  
  351.        };
  352.  
  353.        if (Machine.ContainsKey(Maquina) == false) { Maquina = "None"; }
  354.  
  355.        return Machine[Maquina];
  356.    }
  357.  
  358.  
105  Programación / Programación General / Re: Patrones de Diseño: ¿Necesarios o "parcialmente" irrelevantes? en: 12 Diciembre 2020, 18:11 pm
un programa con muchas líneas de código si no se sigue un patrón, en caso de falla ¿¿?¿
A la hora de actualizar el programa por motivos varios,  “compatibilidad” etc..?¿?¿
La semejanza en los patrones de objetos, funciones, etc..  en distintos lenguajes, nos ayudan a migrar de uno a otro con relativa facilidad……………
106  Programación / Ingeniería Inversa / Re: Estructuras Binarias x86-64 en: 10 Diciembre 2020, 21:35 pm
Constantes



Código
  1. public static string MachineTypes_HEADER_2(string Maquina)
  2.    {
  3.        var Machine = new Dictionary<string, string>
  4.        {
  5.            ["0000"] = " The content of this field is assumed to be applicable to any machine type",                  
  6.            ["01D3"] = "Matsushita AM33",                
  7.            ["8664"] = "x64",
  8.            ["01C0"] = "ARM little endian",
  9.            ["AA64"] = "ARM64 little endian",
  10.            ["01C4"] = "ARM Thumb-2 little endian",
  11.            ["0EBC"] = "EFI byte code",
  12.            ["014C"] = "Intel 386 or later processors and compatible processors",
  13.            ["0200"] = "Intel Itanium processor family",
  14.            ["9041"] = "Mitsubishi M32R little endian",
  15.            ["0266"] = "MIPS16",
  16.            ["0366"] = "MIPS with FPU",
  17.            ["0466"] = "MIPS16 with FPU",
  18.            ["01F0"] = "Power PC little endian",
  19.            ["01F1"] = "Power PC with floating point support",
  20.            ["0166"] = "MIPS little endian",
  21.            ["5032"] = "RISC-V 32-bit address space",
  22.            ["5064"] = "RISC-V 64-bit address space",
  23.            ["5128"] = "RISC-V 128-bit address space",
  24.            ["01A2"] = "Hitachi SH3",
  25.            ["01A3"] = "Hitachi SH3 DSP",
  26.            ["01A6"] = "Hitachi SH4",
  27.            ["01A8"] = "Hitachi SH5",
  28.            ["01C2"] = "Thumb",
  29.            ["0169"] = "MIPS little-endian WCE v2",
  30.            ["None"] = Maquina + " None"  // return new
  31.  
  32.        };
  33.  
  34.        if (Machine.ContainsKey(Maquina) == false) { Maquina = "None"; }
  35.  
  36.        return Machine[Maquina];
  37.    }
  38.  
  39.  
  40.    public static string CharacteristicsFile_HEADER_2(string Maquina)
  41.    {
  42.        var Machine = new Dictionary<string, string>
  43.        {
  44.            ["0001"] = "IMAGE_FILE_RELOCS_STRIPPED",    // Image only, Windows CE, and Microsoft Windows NT and later. This indicates that the file does not contain base relocations and must therefore be loaded at its preferred base address. If the base address is not available, the loader reports an error. The default behavior of the linker is to strip base relocations from executable (EXE) files.
  45.            ["0002"] = "IMAGE_FILE_EXECUTABLE_IMAGE",    // Image only. This indicates that the image file is valid and can be run. If this flag is not set, it indicates a linker error.
  46.            ["0004"] = "IMAGE_FILE_LINE_NUMS_STRIPPED",    // COFF line numbers have been removed. This flag is deprecated and should be zero.
  47.            ["0008"] = "IMAGE_FILE_LOCAL_SYMS_STRIPPED",    // COFF symbol table entries for local symbols have been removed. This flag is deprecated and should be zero.
  48.            ["0010"] = "IMAGE_FILE_AGGRESSIVE_WS_TRIM",    // Obsolete. Aggressively trim working set. This flag is deprecated for Windows 2000 and later and must be zero.
  49.            ["0020"] = "IMAGE_FILE_LARGE_ADDRESS_ AWARE",    // Application can handle > 2-GB addresses.
  50.            ["0040"] = "IMAGE_FILE_FUTURE_USE", // This flag is reserved for future use.
  51.            ["0080"] = "IMAGE_FILE_BYTES_REVERSED_LO",    // Little endian: the least significant bit (LSB) precedes the most significant bit (MSB) in memory. This flag is deprecated and should be zero.
  52.            ["0100"] = "IMAGE_FILE_32BIT_MACHINE",    // Machine is based on a 32-bit-word architecture.
  53.            ["0200"] = "IMAGE_FILE_DEBUG_STRIPPED",    // Debugging information is removed from the image file.
  54.            ["0400"] = "IMAGE_FILE_REMOVABLE_RUN_ FROM_SWAP",    // If the image is on removable media, fully load it and copy it to the swap file.
  55.            ["0800"] = "IMAGE_FILE_NET_RUN_FROM_SWAP",    // If the image is on network media, fully load it and copy it to the swap file.
  56.            ["1000"] = "IMAGE_FILE_SYSTEM",    // The image file is a system file, not a user program.
  57.            ["2000"] = "IMAGE_FILE_DLL",    // The image file is a dynamic-link library (DLL). Such files are considered executable files for almost all purposes, although they cannot be directly run.
  58.            ["4000"] = "IMAGE_FILE_UP_SYSTEM_ONLY",    // The file should be run only on a uniprocessor machine.
  59.            ["8000"] = "IMAGE_FILE_BYTES_REVERSED_HI",    // Big endian: the MSB precedes the LSB in memory. This flag is deprecated and should be zero.
  60.            ["None"] = Maquina + " None"  // return new
  61.  
  62.        };
  63.  
  64.        if (Machine.ContainsKey(Maquina) == false) { Maquina = "None"; }
  65.  
  66.        return Machine[Maquina];
  67.  
  68.    } //
  69.  
  70.  
  71.  
  72.    public static string Subsystem_2(string Maquina)
  73.    {
  74.        var Machine = new Dictionary<string, string>
  75.        {
  76.            ["0"] = "IMAGE_SUBSYSTEM_UNKNOWN",   //An unknown subsystem
  77.            ["1"] = "IMAGE_SUBSYSTEM_NATIVE",   //Device drivers and native Windows processes
  78.            ["2"] = "IMAGE_SUBSYSTEM_WINDOWS_GUI",   //The Windows graphical user interface (GUI) subsystem
  79.            ["3"] = "IMAGE_SUBSYSTEM_WINDOWS_CUI",   //The Windows character subsystem
  80.            ["5"] = "IMAGE_SUBSYSTEM_OS2_CUI",   //The OS/2 character subsystem
  81.            ["7"] = "IMAGE_SUBSYSTEM_POSIX_CUI",   //The Posix character subsystem
  82.            ["8"] = "IMAGE_SUBSYSTEM_NATIVE_WINDOWS",   //Native Win9x driver
  83.            ["9"] = "IMAGE_SUBSYSTEM_WINDOWS_CE_GUI",   //Windows CE
  84.            ["10"] = "IMAGE_SUBSYSTEM_EFI_APPLICATION",   //An Extensible Firmware Interface (EFI) application
  85.            ["11"] = "IMAGE_SUBSYSTEM_EFI_BOOT_ SERVICE_DRIVER",   //An EFI driver with boot services
  86.            ["12"] = "IMAGE_SUBSYSTEM_EFI_RUNTIME_ DRIVER",   //An EFI driver with run-time services
  87.            ["13"] = "IMAGE_SUBSYSTEM_EFI_ROM",   //An EFI ROM image
  88.            ["14"] = "IMAGE_SUBSYSTEM_XBOX",   //XBOX
  89.            ["16"] = "IMAGE_SUBSYSTEM_WINDOWS_BOOT_APPLICATION",   //Windows boot application.
  90.            ["None"] = Maquina + " None"  // return new
  91.  
  92.        };
  93.  
  94.        if (Machine.ContainsKey(Maquina) == false) { Maquina = "None"; }
  95.  
  96.        return Machine[Maquina];
  97.  
  98.    } //
  99.  
  100.    public static string DllCharacteristics_OPTIONAL_2(string Maquina)
  101.    {
  102.        var Machine = new Dictionary<string, string>
  103.        {
  104.            ["0001"] = "IMAGE_LIBRARY_PROCESS_INIT",  // Reserved, must be zero.
  105.            ["0002"] = "IMAGE_LIBRARY_PROCESS_TERM",  // Reserved, must be zero.
  106.            ["0004"] = "IMAGE_LIBRARY_THREAD_INIT",  // Reserved, must be zero.
  107.            ["0008"] = "IMAGE_LIBRARY_THREAD_TERM",  // Reserved, must be zero.
  108.            ["0020"] = "IMAGE_DLLCHARACTERISTICS_HIGH_ENTROPY_VA",  //Image can handle a high entropy 64-bit virtual address space.
  109.            ["0040"] = "IMAGE_DLLCHARACTERISTICS_DYNAMIC_BASE",  // DLL can be relocated at load time.
  110.            ["0080"] = "IMAGE_DLLCHARACTERISTICS_ FORCE_INTEGRITY",  // Code "Integrity checks are enforced.
  111.            ["0100"] = "IMAGE_DLLCHARACTERISTICS_ NX_COMPAT",  // Image "Is NX compatible.
  112.            ["0200"] = "IMAGE_DLLCHARACTERISTICS_ NO_ISOLATION",  //  Isolation aware, but do not "Isolate the "Image.
  113.            ["0400"] = "IMAGE_DLLCHARACTERISTICS_ NO_SEH",  // Does not use structured exception (SE) handling. No SE handler may be called "In this "Image.
  114.            ["0800"] = "IMAGE_DLLCHARACTERISTICS_ NO_BIND",  // Do not bind the "Image.
  115.            ["1000"] = "IMAGE_DLLCHARACTERISTICS_APPCONTAINER",  //  Image must execute "In an AppContainer.
  116.            ["2000"] = "IMAGE_DLLCHARACTERISTICS_ WDM_DRIVER",  // A WDM driver.
  117.            ["4000"] = "IMAGE_DLLCHARACTERISTICS_GUARD_CF",  //  Image supports Control Flow Guard.
  118.            ["8000"] = "IMAGE_DLLCHARACTERISTICS_ TERMINAL_SERVER_AWARE", // Terminal Server aware.
  119.            ["None"] = Maquina + " None"  // return new
  120.  
  121.        };
  122.  
  123.        if (Machine.ContainsKey(Maquina) == false) { Maquina = "None"; }
  124.  
  125.        return Machine[Maquina];
  126.  
  127.    } //
  128.  
  129.  
  130.    public static string Characteristics_SECTION_HEADER_4(string Maquina)
  131.    {
  132.        var Machine = new Dictionary<string, string>
  133.        {
  134.            ["00000000"] = "IMAGE_SCN_TYPE_REG",  // Reserved for future use.
  135.            ["00000001"] = "IMAGE_SCN_TYPE_DSECT or IMAGE_SCN_SCALE_INDEX",  // Reserved for future use. Tls index is scaled
  136.            ["00000002"] = "IMAGE_SCN_TYPE_NOLOAD",  // Reserved for future use.
  137.            ["00000004"] = "IMAGE_SCN_TYPE_GROUP",  // Reserved for future use.
  138.            ["00000008"] = "IMAGE_SCN_TYPE_NO_PAD ",  // The section should not be padded to the next boundary. This flag is obsolete and is replaced by IMAGE_SCN_ALIGN_1BYTES. This is valid only for object files.
  139.            ["00000010"] = "IMAGE_SCN_TYPE_COPY",  // Reserved for future use.
  140.            ["00000020"] = "IMAGE_SCN_CNT_CODE ",  // The section contains executable code.
  141.            ["00000040"] = "IMAGE_SCN_CNT_INITIALIZED_DATA ",  // The section contains initialized data.
  142.            ["00000080"] = "IMAGE_SCN_CNT_UNINITIALIZED_ DATA ",  // The section contains uninitialized data.
  143.            ["00000100"] = "IMAGE_SCN_LNK_OTHER ",  // Reserved for future use.
  144.            ["00000200"] = "IMAGE_SCN_LNK_INFO ",  // The section contains comments or other information. The .drectve section has this type. This is valid for object files only.
  145.            ["00000400"] = "IMAGE_SCN_MEM_PROTECTED - Obsolete",  // Reserved for future use.
  146.            ["00000800"] = "IMAGE_SCN_LNK_REMOVE ",  // The section will not become part of the image. This is valid only for object files.
  147.            ["00001000"] = "IMAGE_SCN_LNK_COMDAT ",  // The section contains COMDAT data. For more information, see COMDAT Sections (Object Only). This is valid only for object files.
  148.            ["00002000"] = "reservado",  // reservado
  149.            ["00004000"] = "IMAGE_SCN_NO_DEFER_SPEC_EXC",  // Reset speculative exceptions
  150.            ["00008000"] = "IMAGE_SCN_GPREL ",  // The section contains data referenced through the global pointer (GP).
  151.            ["00010000"] = "IMAGE_SCN_MEM_SYSHEAP - Obsolete",  // Obsolete
  152.            ["00020000"] = "IMAGE_SCN_MEM_PURGEABLE Or IMAGE_SCN_MEM_16BIT",  // Reserved for future use.
  153.            ["00040000"] = "IMAGE_SCN_MEM_LOCKED ",  // Reserved for future use.
  154.            ["00080000"] = "IMAGE_SCN_MEM_PRELOAD ",  // Reserved for future use.
  155.            ["00100000"] = "IMAGE_SCN_ALIGN_1BYTES ",  // Align data on a 1-byte boundary. Valid only for object files.
  156.            ["00200000"] = "IMAGE_SCN_ALIGN_2BYTES ",  // Align data on a 2-byte boundary. Valid only for object files.
  157.            ["00300000"] = "IMAGE_SCN_ALIGN_4BYTES ",  // Align data on a 4-byte boundary. Valid only for object files.
  158.            ["00400000"] = "IMAGE_SCN_ALIGN_8BYTES ",  // Align data on an 8-byte boundary. Valid only for object files.
  159.            ["00500000"] = "IMAGE_SCN_ALIGN_16BYTES ",  // Align data on a 16-byte boundary. Valid only for object files.
  160.            ["00600000"] = "IMAGE_SCN_ALIGN_32BYTES ",  // Align data on a 32-byte boundary. Valid only for object files.
  161.            ["00700000"] = "IMAGE_SCN_ALIGN_64BYTES ",  // Align data on a 64-byte boundary. Valid only for object files.
  162.            ["00800000"] = "IMAGE_SCN_ALIGN_128BYTES ",  // Align data on a 128-byte boundary. Valid only for object files.
  163.            ["00900000"] = "IMAGE_SCN_ALIGN_256BYTES ",  // Align data on a 256-byte boundary. Valid only for object files.
  164.            ["00A00000"] = "IMAGE_SCN_ALIGN_512BYTES ",  // Align data on a 512-byte boundary. Valid only for object files.
  165.            ["00B00000"] = "IMAGE_SCN_ALIGN_1024BYTES ",  // Align data on a 1024-byte boundary. Valid only for object files.
  166.            ["00C00000"] = "IMAGE_SCN_ALIGN_2048BYTES ",  // Align data on a 2048-byte boundary. Valid only for object files.
  167.            ["00D00000"] = "IMAGE_SCN_ALIGN_4096BYTES ",  // Align data on a 4096-byte boundary. Valid only for object files.
  168.            ["00E00000"] = "IMAGE_SCN_ALIGN_8192BYTES ",  // Align data on an 8192-byte boundary. Valid only for object files.
  169.            ["00F00000"] = "IMAGE_SCN_ALIGN_MASK",  // unused
  170.            ["01000000"] = "IMAGE_SCN_LNK_NRELOC_OVFL ",  // The section contains extended relocations. > 16 Bits NumberOfRelocations >= 0xffff => is stored in the 32-bit VirtualAddress field of the first relocation
  171.            ["02000000"] = "IMAGE_SCN_MEM_DISCARDABLE ",  // The section can be discarded as needed.
  172.            ["04000000"] = "IMAGE_SCN_MEM_NOT_CACHED ",  // The section cannot be cached.
  173.            ["08000000"] = "IMAGE_SCN_MEM_NOT_PAGED ",  // The section is not pageable.
  174.            ["10000000"] = "IMAGE_SCN_MEM_SHARED ",  // The section can be shared in memory.
  175.            ["20000000"] = "IMAGE_SCN_MEM_EXECUTE ",  // The section can be executed as code.
  176.            ["40000000"] = "IMAGE_SCN_MEM_READ ",  // The section can be read.
  177.            ["80000000"] = "IMAGE_SCN_MEM_WRITE ",  // The section can be written to.
  178.            ["None"] = Maquina + " None"  // return new
  179.  
  180.        };
  181.  
  182.        if(Machine.ContainsKey(Maquina) == false) { Maquina = "None"; }
  183.  
  184.        return Machine[Maquina];
  185.  
  186.    } //
  187.  
  188.    public static string CodePage_4(string Maquina)
  189.    {
  190.        var Machine = new Dictionary<string, string>
  191.        {
  192.            ["0"] = "default to ANSI code page",
  193.            ["37"] = "IBM037 IBM EBCDIC US-Canada",
  194.            ["437"] = "IBM437 OEM United States",
  195.            ["500"] = "IBM500 IBM EBCDIC International",
  196.            ["708"] = "ASMO-708 Arabic (ASMO 708)",
  197.            ["709"] = " Arabic (ASMO-449+, BCON V4)",
  198.            ["710"] = " Arabic - Transparent Arabic",
  199.            ["720"] = "DOS-720 Arabic (Transparent ASMO); Arabic (DOS)",
  200.            ["737"] = "ibm737 OEM Greek (formerly 437G); Greek (DOS)",
  201.            ["775"] = "ibm775 OEM Baltic; Baltic (DOS)",
  202.            ["850"] = "ibm850 OEM Multilingual Latin 1; Western European (DOS)",
  203.            ["852"] = "ibm852 OEM Latin 2; Central European (DOS)",
  204.            ["855"] = "IBM855 OEM Cyrillic (primarily Russian)",
  205.            ["857"] = "ibm857 OEM Turkish; Turkish (DOS)",
  206.            ["858"] = "IBM00858 OEM Multilingual Latin 1 + Euro symbol",
  207.            ["860"] = "IBM860 OEM Portuguese; Portuguese (DOS)",
  208.            ["861"] = "ibm861 OEM Icelandic; Icelandic (DOS)",
  209.            ["862"] = "DOS-862 OEM Hebrew; Hebrew (DOS)",
  210.            ["863"] = "IBM863 OEM French Canadian; French Canadian (DOS)",
  211.            ["864"] = "IBM864 OEM Arabic; Arabic (864)",
  212.            ["865"] = "IBM865 OEM Nordic; Nordic (DOS)",
  213.            ["866"] = "cp866 OEM Russian; Cyrillic (DOS)",
  214.            ["869"] = "ibm869 OEM Modern Greek; Greek, Modern (DOS)",
  215.            ["870"] = "IBM870 IBM EBCDIC Multilingual/ROECE (Latin 2); IBM EBCDIC Multilingual Latin 2",
  216.            ["874"] = "windows-874 Thai (Windows)",
  217.            ["875"] = "cp875 IBM EBCDIC Greek Modern",
  218.            ["932"] = "shift_jis ANSI/OEM Japanese; Japanese (Shift-JIS)",
  219.            ["936"] = "gb2312 ANSI/OEM Simplified Chinese (PRC, Singapore); Chinese Simplified (GB2312)",
  220.            ["949"] = "ks_c_5601-1987 ANSI/OEM Korean (Unified Hangul Code)",
  221.            ["950"] = "big5 ANSI/OEM Traditional Chinese (Taiwan; Hong Kong SAR, PRC); Chinese Traditional (Big5)",
  222.            ["1026"] = "IBM1026 IBM EBCDIC Turkish (Latin 5)",
  223.            ["1047"] = "IBM01047 IBM EBCDIC Latin 1/Open System",
  224.            ["1140"] = "IBM01140 IBM EBCDIC US-Canada (037 + Euro symbol); IBM EBCDIC (US-Canada-Euro)",
  225.            ["1141"] = "IBM01141 IBM EBCDIC Germany (20273 + Euro symbol); IBM EBCDIC (Germany-Euro)",
  226.            ["1142"] = "IBM01142 IBM EBCDIC Denmark-Norway (20277 + Euro symbol); IBM EBCDIC (Denmark-Norway-Euro)",
  227.            ["1143"] = "IBM01143 IBM EBCDIC Finland-Sweden (20278 + Euro symbol); IBM EBCDIC (Finland-Sweden-Euro)",
  228.            ["1144"] = "IBM01144 IBM EBCDIC Italy (20280 + Euro symbol); IBM EBCDIC (Italy-Euro)",
  229.            ["1145"] = "IBM01145 IBM EBCDIC Latin America-Spain (20284 + Euro symbol); IBM EBCDIC (Spain-Euro)",
  230.            ["1146"] = "IBM01146 IBM EBCDIC United Kingdom (20285 + Euro symbol); IBM EBCDIC (UK-Euro)",
  231.            ["1147"] = "IBM01147 IBM EBCDIC France (20297 + Euro symbol); IBM EBCDIC (France-Euro)",
  232.            ["1148"] = "IBM01148 IBM EBCDIC International (500 + Euro symbol); IBM EBCDIC (International-Euro)",
  233.            ["1149"] = "IBM01149 IBM EBCDIC Icelandic (20871 + Euro symbol); IBM EBCDIC (Icelandic-Euro)",
  234.            ["1200"] = "utf-16 Unicode UTF-16, little endian byte order (BMP of ISO 10646); available only to managed applications",
  235.            ["1201"] = "unicodeFFFE Unicode UTF-16, big endian byte order; available only to managed applications",
  236.            ["1250"] = "windows-1250 ANSI Central European; Central European (Windows)",
  237.            ["1251"] = "windows-1251 ANSI Cyrillic; Cyrillic (Windows)",
  238.            ["1252"] = "windows-1252 ANSI Latin 1; Western European (Windows)",
  239.            ["1253"] = "windows-1253 ANSI Greek; Greek (Windows)",
  240.            ["1254"] = "windows-1254 ANSI Turkish; Turkish (Windows)",
  241.            ["1255"] = "windows-1255 ANSI Hebrew; Hebrew (Windows)",
  242.            ["1256"] = "windows-1256 ANSI Arabic; Arabic (Windows)",
  243.            ["1257"] = "windows-1257 ANSI Baltic; Baltic (Windows)",
  244.            ["1258"] = "windows-1258 ANSI/OEM Vietnamese; Vietnamese (Windows)",
  245.            ["1361"] = "Johab Korean (Johab)",
  246.            ["10000"] = "macintosh MAC Roman; Western European (Mac)",
  247.            ["10001"] = "x-mac-japanese Japanese (Mac)",
  248.            ["10002"] = "x-mac-chinesetrad MAC Traditional Chinese (Big5); Chinese Traditional (Mac)",
  249.            ["10003"] = "x-mac-korean Korean (Mac)",
  250.            ["10004"] = "x-mac-arabic Arabic (Mac)",
  251.            ["10005"] = "x-mac-hebrew Hebrew (Mac)",
  252.            ["10006"] = "x-mac-greek Greek (Mac)",
  253.            ["10007"] = "x-mac-cyrillic Cyrillic (Mac)",
  254.            ["10008"] = "x-mac-chinesesimp MAC Simplified Chinese (GB 2312); Chinese Simplified (Mac)",
  255.            ["10010"] = "x-mac-romanian Romanian (Mac)",
  256.            ["10017"] = "x-mac-ukrainian Ukrainian (Mac)",
  257.            ["10021"] = "x-mac-thai Thai (Mac)",
  258.            ["10029"] = "x-mac-ce MAC Latin 2; Central European (Mac)",
  259.            ["10079"] = "x-mac-icelandic Icelandic (Mac)",
  260.            ["10081"] = "x-mac-turkish Turkish (Mac)",
  261.            ["10082"] = "x-mac-croatian Croatian (Mac)",
  262.            ["12000"] = "utf-32 Unicode UTF-32, little endian byte order; available only to managed applications",
  263.            ["12001"] = "utf-32BE Unicode UTF-32, big endian byte order; available only to managed applications",
  264.            ["20000"] = "x-Chinese_CNS CNS Taiwan; Chinese Traditional (CNS)",
  265.            ["20001"] = "x-cp20001 TCA Taiwan",
  266.            ["20002"] = "x_Chinese-Eten Eten Taiwan; Chinese Traditional (Eten)",
  267.            ["20003"] = "x-cp20003 IBM5550 Taiwan",
  268.            ["20004"] = "x-cp20004 TeleText Taiwan",
  269.            ["20005"] = "x-cp20005 Wang Taiwan",
  270.            ["20105"] = "x-IA5 IA5 (IRV International Alphabet No. 5, 7-bit); Western European (IA5)",
  271.            ["20106"] = "x-IA5-German IA5 German (7-bit)",
  272.            ["20107"] = "x-IA5-Swedish IA5 Swedish (7-bit)",
  273.            ["20108"] = "x-IA5-Norwegian IA5 Norwegian (7-bit)",
  274.            ["20127"] = "us-ascii US-ASCII (7-bit)",
  275.            ["20261"] = "x-cp20261 T.61",
  276.            ["20269"] = "x-cp20269 ISO 6937 Non-Spacing Accent",
  277.            ["20273"] = "IBM273 IBM EBCDIC Germany",
  278.            ["20277"] = "IBM277 IBM EBCDIC Denmark-Norway",
  279.            ["20278"] = "IBM278 IBM EBCDIC Finland-Sweden",
  280.            ["20280"] = "IBM280 IBM EBCDIC Italy",
  281.            ["20284"] = "IBM284 IBM EBCDIC Latin America-Spain",
  282.            ["20285"] = "IBM285 IBM EBCDIC United Kingdom",
  283.            ["20290"] = "IBM290 IBM EBCDIC Japanese Katakana Extended",
  284.            ["20297"] = "IBM297 IBM EBCDIC France",
  285.            ["20420"] = "IBM420 IBM EBCDIC Arabic",
  286.            ["20423"] = "IBM423 IBM EBCDIC Greek",
  287.            ["20424"] = "IBM424 IBM EBCDIC Hebrew",
  288.            ["20833"] = "x-EBCDIC-KoreanExtended IBM EBCDIC Korean Extended",
  289.            ["20838"] = "IBM-Thai IBM EBCDIC Thai",
  290.            ["20866"] = "koi8-r Russian (KOI8-R); Cyrillic (KOI8-R)",
  291.            ["20871"] = "IBM871 IBM EBCDIC Icelandic",
  292.            ["20880"] = "IBM880 IBM EBCDIC Cyrillic Russian",
  293.            ["20905"] = "IBM905 IBM EBCDIC Turkish",
  294.            ["20924"] = "IBM00924 IBM EBCDIC Latin 1/Open System (1047 + Euro symbol)",
  295.            ["20932"] = "EUC-JP Japanese (JIS 0208-1990 and 0212-1990)",
  296.            ["20936"] = "x-cp20936 Simplified Chinese (GB2312); Chinese Simplified (GB2312-80)",
  297.            ["20949"] = "x-cp20949 Korean Wansung",
  298.            ["21025"] = "cp1025 IBM EBCDIC Cyrillic Serbian-Bulgarian",
  299.            ["21027"] = " (deprecated)",
  300.            ["21866"] = "koi8-u Ukrainian (KOI8-U); Cyrillic (KOI8-U)",
  301.            ["28591"] = "iso-8859-1 ISO 8859-1 Latin 1; Western European (ISO)",
  302.            ["28592"] = "iso-8859-2 ISO 8859-2 Central European; Central European (ISO)",
  303.            ["28593"] = "iso-8859-3 ISO 8859-3 Latin 3",
  304.            ["28594"] = "iso-8859-4 ISO 8859-4 Baltic",
  305.            ["28595"] = "iso-8859-5 ISO 8859-5 Cyrillic",
  306.            ["28596"] = "iso-8859-6 ISO 8859-6 Arabic",
  307.            ["28597"] = "iso-8859-7 ISO 8859-7 Greek",
  308.            ["28598"] = "iso-8859-8 ISO 8859-8 Hebrew; Hebrew (ISO-Visual)",
  309.            ["28599"] = "iso-8859-9 ISO 8859-9 Turkish",
  310.            ["28603"] = "iso-8859-13 ISO 8859-13 Estonian",
  311.            ["28605"] = "iso-8859-15 ISO 8859-15 Latin 9",
  312.            ["29001"] = "x-Europa Europa 3",
  313.            ["38598"] = "iso-8859-8-i ISO 8859-8 Hebrew; Hebrew (ISO-Logical)",
  314.            ["50220"] = "iso-2022-jp ISO 2022 Japanese with no halfwidth Katakana; Japanese (JIS)",
  315.            ["50221"] = "csISO2022JP ISO 2022 Japanese with halfwidth Katakana; Japanese (JIS-Allow 1 byte Kana)",
  316.            ["50222"] = "iso-2022-jp ISO 2022 Japanese JIS X 0201-1989; Japanese (JIS-Allow 1 byte Kana - SO/SI)",
  317.            ["50225"] = "iso-2022-kr ISO 2022 Korean",
  318.            ["50227"] = "x-cp50227 ISO 2022 Simplified Chinese; Chinese Simplified (ISO 2022)",
  319.            ["50229"] = " ISO 2022 Traditional Chinese",
  320.            ["50930"] = " EBCDIC Japanese (Katakana) Extended",
  321.            ["50931"] = " EBCDIC US-Canada and Japanese",
  322.            ["50933"] = " EBCDIC Korean Extended and Korean",
  323.            ["50935"] = " EBCDIC Simplified Chinese Extended and Simplified Chinese",
  324.            ["50936"] = " EBCDIC Simplified Chinese",
  325.            ["50937"] = " EBCDIC US-Canada and Traditional Chinese",
  326.            ["50939"] = " EBCDIC Japanese (Latin) Extended and Japanese",
  327.            ["51932"] = "euc-jp EUC Japanese",
  328.            ["51936"] = "EUC-CN EUC Simplified Chinese; Chinese Simplified (EUC)",
  329.            ["51949"] = "euc-kr EUC Korean",
  330.            ["51950"] = " EUC Traditional Chinese",
  331.            ["52936"] = "hz-gb-2312 HZ-GB2312 Simplified Chinese; Chinese Simplified (HZ)",
  332.            ["54936"] = "GB18030 Windows XP and later: GB18030 Simplified Chinese (4 byte); Chinese Simplified (GB18030)",
  333.            ["57002"] = "x-iscii-de ISCII Devanagari",
  334.            ["57003"] = "x-iscii-be ISCII Bangla",
  335.            ["57004"] = "x-iscii-ta ISCII Tamil",
  336.            ["57005"] = "x-iscii-te ISCII Telugu",
  337.            ["57006"] = "x-iscii-as ISCII Assamese",
  338.            ["57007"] = "x-iscii-or ISCII Odia",
  339.            ["57008"] = "x-iscii-ka ISCII Kannada",
  340.            ["57009"] = "x-iscii-ma ISCII Malayalam",
  341.            ["57010"] = "x-iscii-gu ISCII Gujarati",
  342.            ["57011"] = "x-iscii-pa ISCII Punjabi",
  343.            ["65000"] = "utf-7 Unicode (UTF-7)",
  344.            ["65001"] = "utf-8 Unicode (UTF-8)",
  345.            ["None"] = Maquina + " None" // return new
  346.  
  347.        };
  348.  
  349.        if (Machine.ContainsKey(Maquina) == false) { Maquina = "None"; }
  350.  
  351.        return Machine[Maquina];
  352.    }
  353.  
  354. public static string Resourse_Types_MAKEINTRESOURCE(string Maquina)
  355.    {
  356.        var Machine = new Dictionary<string, string>
  357.        {
  358.            ["9"] = "RT_ACCELERATOR", // Accelerator table.
  359.            ["21"] = "RT_ANICURSOR", // Animated cursor.
  360.            ["22"] = "RT_ANIICON", // Animated icon.
  361.            ["2"] = "RT_BITMAP", // Bitmap resource.
  362.            ["1"] = "RT_CURSOR", // Hardware-dependent cursor resource.
  363.            ["5"] = "RT_DIALOG", // Dialog box.
  364.            ["17"] = "RT_DLGINCLUDE", //  Por ejemplo, 1 DLGINCLUDE "MyFile.h"
  365.            ["8"] = "RT_FONT", // Font resource.
  366.            ["7"] = "RT_FONTDIR", // Font directory resource.
  367.            ["12"] = "RT_GROUP_CURSOR", // RT_CURSOR + 11 Hardware-independent cursor resource.
  368.            ["14"] = "RT_GROUP_ICON", // RT_ICON  + 11 Hardware-independent icon resource.
  369.            ["23"] = "RT_HTML", // HTML resource.
  370.            ["3"] = "RT_ICON", // Hardware-dependent icon resource.
  371.            ["24"] = "RT_MANIFEST", // Side-by-Side Assembly Manifest.
  372.            ["4"] = "RT_MENU", // Menu resource.
  373.            ["11"] = "RT_MESSAGETABLE", // Message-table entry.
  374.            ["19"] = "RT_PLUGPLAY", // Plug and Play resource.
  375.            ["10"] = "RT_RCDATA", // Application-defined resource (raw data).
  376.            ["6"] = "RT_STRING", // String-table entry.
  377.            ["16"] = "RT_VERSION", // Version resource.
  378.            ["20"] = "RT_VXD", // VXD.
  379.            ["None"] = Maquina + " None"  // return new
  380.  
  381.        };
  382.  
  383.        if (Machine.ContainsKey(Maquina) == false) { Maquina = "None"; }
  384.  
  385.        return Machine[Maquina];
  386.  
  387.    } //
  388.  
  389.  
107  Foros Generales / Dudas Generales / Como pegar codigo en esta web y que aparezca con colores en: 2 Diciembre 2020, 22:20 pm
Gracias


Selecionando texto, si se hacerlo y veo los codigos, pero pegar codigo directamente como se hace?

Solucionado, donde pone "Código GeShi"  cuando pegamos código selecionamos otro codigo.
108  Programación / .NET (C#, VB.NET, ASP) / Re: Guardar imagen en una carpeta desde un PictureBox VB.NET en: 29 Noviembre 2020, 19:04 pm
 
Código:
var filePath = string.Empty;

            saveFileDialog1.Filter = "txt files (*.txt)|*.txt|All files (*.*)|*.*";  
            saveFileDialog1.FilterIndex = 2;
            saveFileDialog1.RestoreDirectory = true;

            if (  _ = saveFileDialog1.ShowDialog() == DialogResult.OK) {


                filePath = saveFileDialog1.FileName;


               Testamento.............................


            }



Aca comparto una opcion de como guardar una imagen: https://www.youtube.com/watch?v=lQl54poTQH4&t=1s
109  Programación / .NET (C#, VB.NET, ASP) / Re: porque mi grilla me muestra dos registros y en mi bd solo tengo uno? WPF C# en: 29 Noviembre 2020, 18:56 pm
Seguramente te muestra el índice de la BD como un registro
110  Programación / Ingeniería Inversa / Re: Reverse Engineering and Exploit Development en: 18 Noviembre 2020, 19:01 pm
Muy buen aporte ;-) ;-)
Páginas: 1 2 3 4 5 6 7 8 9 10 [11] 12 13 14 15 16 17 18
WAP2 - Aviso Legal - Powered by SMF 1.1.21 | SMF © 2006-2008, Simple Machines