{"id":19584403,"url":"https://github.com/gpalleschi/asn.1-reader","last_synced_at":"2026-06-16T00:31:57.012Z","repository":{"id":95880933,"uuid":"166552498","full_name":"gpalleschi/ASN.1-Reader","owner":"gpalleschi","description":"PrgAsn1.pl is a simple but effective ASN1 viewer working as command line.  This script can use a Translation file to convert hexadecimal values in numeric or alphanumeric values.","archived":false,"fork":false,"pushed_at":"2021-08-12T07:46:35.000Z","size":39,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-26T12:42:42.022Z","etag":null,"topics":["asn1","ber","cli","command-line","command-line-tool","convert-hexadecimal-values","decoder","perl","translation"],"latest_commit_sha":null,"homepage":"","language":"Perl","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gpalleschi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-01-19T13:57:09.000Z","updated_at":"2023-11-27T01:03:52.000Z","dependencies_parsed_at":"2023-03-05T13:15:16.463Z","dependency_job_id":null,"html_url":"https://github.com/gpalleschi/ASN.1-Reader","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/gpalleschi/ASN.1-Reader","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gpalleschi%2FASN.1-Reader","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gpalleschi%2FASN.1-Reader/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gpalleschi%2FASN.1-Reader/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gpalleschi%2FASN.1-Reader/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gpalleschi","download_url":"https://codeload.github.com/gpalleschi/ASN.1-Reader/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gpalleschi%2FASN.1-Reader/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34386320,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-15T02:00:07.085Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["asn1","ber","cli","command-line","command-line-tool","convert-hexadecimal-values","decoder","perl","translation"],"created_at":"2024-11-11T07:48:04.368Z","updated_at":"2026-06-16T00:31:57.000Z","avatar_url":"https://github.com/gpalleschi.png","language":"Perl","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ASN.1-Reader\n\n## Description\n**PrgAsn1.pl** is a very simple but effective ASN1 viewer working as command line.  This script can use a Translation file to convert hexadecimal values in ascii or numeric values. This tool was created to read and analize TAP 3.12 and RAP 1.5 files. But It can be used to read any Type of ASN.1 BER File.\n\nUse: `PrgAsn1.pl \u003cFile Asn1\u003e` `[-s\u003cFile Name Conversion\u003e]` `[-h] [-o] [-t] [-npv] [-lt] [-ll] [-nl] [-b] [-e] [-help]`\n\nParameters `[...]` are optional \nParameters `\u003c...\u003e` are mandatory\n\n**`[-s\u003cFile Name Conversion\u003e]`** : you can add a Conversion File. \n\n         Each record has this format `\u003cTag Name\u003e|\u003cConversion Type\u003e|\u003cDesc Tag\u003e`\n\n         Values for `\u003cConversion Type\u003e` : A for Hex to Ascii\n                                          B for Hex to Binary\n                                          N for Hex to Number\n\n         Example Record : 1.15.43|N|Total Records\n\n**`[-h]`**                       : Display Hexadecimal Value for Tags  \n**`[-o]`**                       : Display Offset for each Tag  \n**`[-t]`**                       : Display Only value of Tag instead of Id-Tag (To use for TAP rappresentation)  \n**`[-npv]`**                     : No Display primitive Values  \n**`[-lt]`**                      : Display len Tag in Hexadecimal Value  \n**`[-ll]`**                      : Display len Len in Hexadecimal Value  \n**`[-nl]`**                      : No Display Length for Tags  \n**`[-b]`**                       : Specify Byte From  \n**`[-e]`**                       : Specify Byte To  \n\nHere an example of output :\n\n**PrgAsn1.pl ../JAsn1LC/CDARGTMARGTP02402 -sConv_TAP312 -t -o**\n***\n`ASN1 FILE ../JAsn1LC/CDARGTMARGTP02402 SIZE : 2967617`\n\n`00000000:0000:  1       {TransferBatch} length : indefinite`  \n`00000002:0001:     1.4  {BatchControlInfo}      length : 180`  \n`00000005:0002:        1.4.196   {Sender}                                length : 5      \"415247544d\"h   Value (ARGTM)A`  \n`00000014:0002:        1.4.182   {Recipient}                             length : 5      \"4152475450\"h   Value (ARGTP)A`  \n`00000023:0002:        1.4.109   {FileSequenceNumber}                    length : 5      \"3032343032\"h   Value (02402)A`  \n`00000031:0002:        1.4.108   {FileCreationTimeStamp} length : 25`  \n`00000034:0003:           1.4.108.16     {LocalTimeStamp}                        length : 14     \"3230323030353230303930303231\"h Value (20200520090021)A`  \n`00000050:0003:           1.4.108.231    {UtcTimeOffset}                         length : 5      \"2d30333030\"h   Value (-0300)A`  \n`00000059:0002:        1.4.227   {TransferCutOffTimeStamp}       length : 25`  \n`00000063:0003:           1.4.227.16     {LocalTimeStamp}                        length : 14     \"3230323030353230303930303231\"h Value (20200520090021)A`  \n`00000079:0003:           1.4.227.231    {UtcTimeOffset}                         length : 5      \"2d30333030\"h   Value (-0300)A`  \n`00000088:0002:        1.4.107   {FileAvailableTimeStamp}        length : 25`  \n`00000091:0003:           1.4.107.16     {LocalTimeStamp}                        length : 14     \"3230323030353230303930303231\"h Value (20200520090021)A`  \n`00000107:0003:           1.4.107.231    {UtcTimeOffset}                         length : 5      \"2d30333030\"h   Value (-0300)A`  \n`00000116:0002:        1.4.201   {SpecificationVersionNumber}            length : 1      \"03\"h   Value (3)N`  \n`00000121:0002:        1.4.189   {ReleaseVersionNumber}                  length : 1      \"0c\"h   Value (12)N`  \n`00000126:0002:        1.4.162   {OperatorSpecInfoList}  length : 55`  \n`00000130:0003:           1.4.162.163    {OperatorSpecInformation}               length : 51     \"445746505f435f54495f415247544d41524754505f303030303032383834315f3230303532305f303030393130392e30303032\"h       Value (DWFP_C_TI_ARGTMARGTP_0 000028841_200520_0009109.0002)A`  \n`00000185:0001:     1.5  {AccountingInfo}        length : 75`  \n`00000187:0002:        1.5.211   {TaxationList}  length : 31`  \n`00000191:0003:           1.5.211.216    {TaxRateDefinition}     length : 27`  \n`00000195:0004:              1.5.211.216.212     {TaxCode}                               length : 1      \"01\"h   Value (1)N`  \n`00000200:0004:              1.5.211.216.217     {TaxType}                               length : 2      \"3031\"h Value (01)A`  \n`00000206:0004:              1.5.211.216.215     {TaxRate}                               length : 7      \"32313030303030\"h       Value (2100000)A`  \n`00000217:0004:              1.5.211.216.71      {ChargeType}                            length : 2      \"3030\"h Value (00)A`  \n`00000222:0002:        1.5.135   {LocalCurrency}                         length : 3      \"555344\"h       Value (USD)A`  \n`00000229:0002:        1.5.210   {TapCurrency}                           length : 3      \"555344\"h       Value (USD)A`  \n`00000236:0002:        1.5.80    {CurrencyConversionList}        length : 18`  \n`00000239:0003:           1.5.80.106     {CurrencyConversion}    length : 15`  \n`00000242:0004:              1.5.80.106.105      {ExchangeRateCode}                      length : 1      \"01\"h   Value (1)N`  \n`00000246:0004:              1.5.80.106.159      {NumberOfDecimalPlaces}                 length : 1      \"05\"h   Value (5)N`  \n`00000251:0004:              1.5.80.106.104      {ExchangeRate}                          length : 3      \"0186a0\"h       Value (100000)N`  \n`00000257:0002:        1.5.244   {TapDecimalPlaces}                      length : 1      \"06\"h   Value (6)N`  \n`00000262:0001:     1.6  {NetworkInfo}   length : 1729`  \n`00000266:0002:        1.6.234   {UtcTimeOffsetInfoList} length : 18`  \n`00000270:0003:           1.6.234.233    {UtcTimeOffsetInfo}     length : 14`  \n`00000274:0004:              1.6.234.233.232     {UtcTimeOffsetCode}                     length : 1      \"01\"h   Value (1)N`  \n`00000279:0004:              1.6.234.233.231     {UtcTimeOffset}                         length : 5      \"2d30333030\"h   Value (-0300)A`  \n`00000288:0002:        1.6.188   {RecEntityInfoList}     length : 1701`  \n`00000294:0003:           1.6.188.183    {RecEntityInformation}  length : 23`  \n`00000298:0004:              1.6.188.183.184     {RecEntityCode}                         length : 1      \"01\"h   Value (1)N`  \n`00000303:0004:              1.6.188.183.186     {RecEntityType}                         length : 1      \"04\"h   Value (4)`  \n`00000308:0004:              1.6.188.183.400     {RecEntityId}                           length : 9      \"3132372e302e302e30\"h   Value (127.0.0.0)A`  \n`00000321:0003:           1.6.188.183    {RecEntityInformation}  length : 29`  \n`...`  \n***\n### Prerequisites\n\n`Executed Succesfully with perl 5, version 26, subversion 1 (v5.26.1)`\n\n## Built With\n\n* [Visual Code Editor](https://code.visualstudio.com) \n\n## Authors\n\n* **Giovanni Palleschi** - [gpalleschi](https://github.com/gpalleschi)\n\n## License\n\nThis project is licensed under the GNU GENERAL PUBLIC LICENSE 3.0 License - see the [LICENSE](LICENSE) file for details\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgpalleschi%2Fasn.1-reader","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgpalleschi%2Fasn.1-reader","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgpalleschi%2Fasn.1-reader/lists"}