Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dmitry looping error in kali linux arm64 version #9

Open
mafinsharo opened this issue Dec 27, 2022 · 2 comments
Open

dmitry looping error in kali linux arm64 version #9

mafinsharo opened this issue Dec 27, 2022 · 2 comments

Comments

@mafinsharo
Copy link

Whenever i scan a domain its keep on looping please fix the issue.

Screenshot_2022-12-27_12_55_12

g0tmi1k added a commit to g0tmi1k/dmitry that referenced this issue Jul 5, 2024
g0tmi1k added a commit to g0tmi1k/dmitry that referenced this issue Jul 6, 2024
@petterreinholdtsen
Copy link

When I try the same using valgrind, I get a crash:

% valgrind dmitry -w velammalitech.edu.in
[...]
���|th��1<--��---You ag  ree JR<]�|h���JR�Ė1<��
*** stack smashing detected ***: terminated
==89771== 
==89771== Process terminating with default action of signal 6 (SIGABRT)
==89771==    at 0x4924E2C: __pthread_kill_implementation (pthread_kill.c:44)
==89771==    by 0x48D5FB1: raise (raise.c:26)
==89771==    by 0x48C0471: abort (abort.c:79)
==89771==    by 0x491942F: __libc_message (libc_fatal.c:155)
==89771==    by 0x49B20F1: __fortify_fail (fortify_fail.c:26)
==89771==    by 0x49B20CF: __stack_chk_fail (stack_chk_fail.c:24)
==89771==    by 0x10BD49: ??? (in /usr/bin/dmitry)
==89771==    by 0x702073692010BE74: ???
==89771==    by 0x2064656469766F71: ???
==89771==    by 0x2079621FFEFFF91F: ???
==89771==    by 0x3A73707474682073: ???
==89771==    by 0x2E6E6E6163692F2E: ???
==89771== 
==89771== HEAP SUMMARY:
==89771==     in use at exit: 23,456 bytes in 77 blocks
==89771==   total heap usage: 672 allocs, 595 frees, 88,800 bytes allocated
==89771== 
==89771== LEAK SUMMARY:
==89771==    definitely lost: 0 bytes in 0 blocks
==89771==    indirectly lost: 0 bytes in 0 blocks
==89771==      possibly lost: 4,996 bytes in 22 blocks
==89771==    still reachable: 18,460 bytes in 55 blocks
==89771==         suppressed: 0 bytes in 0 blocks
==89771== Rerun with --leak-check=full to see details of leaked memory
==89771== 
==89771== Use --track-origins=yes to see where uninitialised values come from
==89771== For lists of detected and suppressed errors, rerun with: -s
==89771== ERROR SUMMARY: 16657 errors from 22 contexts (suppressed: 0 from 0)
Aborted (core dumped)
%

@petterreinholdtsen
Copy link

When running on a version where the changes in the open pull requests (as in the latest Debian upload) have been applied, the crash no longer happen:

==109215== Memcheck, a memory error detector
==109215== Copyright (C) 2002-2022, and GNU GPL'd, by Julian Seward et al.
==109215== Using Valgrind-3.19.0 and LibVEX; rerun with -h for copyright info
==109215== Command: ./dmitry -w velammalitech.edu.in
==109215== 
Deepmagic Information Gathering Tool
"There be some deep magic going on"

HostIP:208.109.14.99
HostName:velammalitech.edu.in

Gathered Inic-whois information for velammalitech.edu.in
---------------------------------
Domain Name: velammalitech.edu.in
Registry Domain ID: D6552339-IN
Registrar WHOIS Server:
Registrar URL: http://www.ernet.in
Updated Date: 2022-06-27T10:37:44Z
Creation Date: 2012-06-21T05:28:32Z
Registry Expiry Date: 2027-06-21T05:28:32Z
Registrar: ERNET India
Registrar IANA ID: 800068
Registrar Abuse Contact Email:
Registrar Abuse Contact Phone:
Domain Status: ok http://www.icann.org/epp#OK
Registry Registrant ID: REDACTED FOR PRIVACY
Registrant Name: REDACTED FOR PRIVACY
==109215== Conditional jump or move depends on uninitialised value(s)
==109215==    at 0x48467E5: __strlen_sse2 (vg_replace_strmem.c:496)
==109215==    by 0x10BB87: nic_format_buff (nwhois.c:138)
==109215==    by 0x10BE04: nic_string_search (nwhois.c:66)
==109215==    by 0x10BF82: get_nwhois (nwhois.c:40)
==109215==    by 0x10A747: main (dmitry.c:165)
==109215== 
==109215== Conditional jump or move depends on uninitialised value(s)
==109215==    at 0x48467F8: __strlen_sse2 (vg_replace_strmem.c:496)
==109215==    by 0x10BB87: nic_format_buff (nwhois.c:138)
==109215==    by 0x10BE04: nic_string_search (nwhois.c:66)
==109215==    by 0x10BF82: get_nwhois (nwhois.c:40)
==109215==    by 0x10A747: main (dmitry.c:165)
==109215== 
==109215== Conditional jump or move depends on uninitialised value(s)
==109215==    at 0x48467E5: __strlen_sse2 (vg_replace_strmem.c:496)
==109215==    by 0x10BB9E: nic_format_buff (nwhois.c:140)
==109215==    by 0x10BE04: nic_string_search (nwhois.c:66)
==109215==    by 0x10BF82: get_nwhois (nwhois.c:40)
==109215==    by 0x10A747: main (dmitry.c:165)
==109215== 
==109215== Conditional jump or move depends on uninitialised value(s)
==109215==    at 0x48467F8: __strlen_sse2 (vg_replace_strmem.c:496)
==109215==    by 0x10BB9E: nic_format_buff (nwhois.c:140)
==109215==    by 0x10BE04: nic_string_search (nwhois.c:66)
==109215==    by 0x10BF82: get_nwhois (nwhois.c:40)
==109215==    by 0x10A747: main (dmitry.c:165)
==109215== 
==109215== Conditional jump or move depends on uninitialised value(s)
==109215==    at 0x48467E5: __strlen_sse2 (vg_replace_strmem.c:496)
==109215==    by 0x48F8257: __vfprintf_internal (vfprintf-process-arg.c:397)
==109215==    by 0x49B0926: __printf_chk (printf_chk.c:33)
==109215==    by 0x10A9B2: printf (stdio2.h:86)
==109215==    by 0x10A9B2: print_line (output.c:29)
==109215==    by 0x10BBFD: nic_format_buff (nwhois.c:130)
==109215==    by 0x10BE04: nic_string_search (nwhois.c:66)
==109215==    by 0x10BF82: get_nwhois (nwhois.c:40)
==109215==    by 0x10A747: main (dmitry.c:165)
==109215== 
==109215== Conditional jump or move depends on uninitialised value(s)
==109215==    at 0x48467F8: __strlen_sse2 (vg_replace_strmem.c:496)
==109215==    by 0x48F8257: __vfprintf_internal (vfprintf-process-arg.c:397)
==109215==    by 0x49B0926: __printf_chk (printf_chk.c:33)
==109215==    by 0x10A9B2: printf (stdio2.h:86)
==109215==    by 0x10A9B2: print_line (output.c:29)
==109215==    by 0x10BBFD: nic_format_buff (nwhois.c:130)
==109215==    by 0x10BE04: nic_string_search (nwhois.c:66)
==109215==    by 0x10BF82: get_nwhois (nwhois.c:40)
==109215==    by 0x10A747: main (dmitry.c:165)
==109215== 
==109215== Conditional jump or move depends on uninitialised value(s)
==109215==    at 0x491B5CC: _IO_new_file_xsputn (fileops.c:1218)
==109215==    by 0x491B5CC: _IO_file_xsputn@@GLIBC_2.2.5 (fileops.c:1196)
==109215==    by 0x48F80FE: outstring_func (vfprintf-internal.c:239)
==109215==    by 0x48F80FE: __vfprintf_internal (vfprintf-process-arg.c:421)
==109215==    by 0x49B0926: __printf_chk (printf_chk.c:33)
==109215==    by 0x10A9B2: printf (stdio2.h:86)
==109215==    by 0x10A9B2: print_line (output.c:29)
==109215==    by 0x10BBFD: nic_format_buff (nwhois.c:130)
==109215==    by 0x10BE04: nic_string_search (nwhois.c:66)
==109215==    by 0x10BF82: get_nwhois (nwhois.c:40)
==109215==    by 0x10A747: main (dmitry.c:165)
==109215== 
==109215== Syscall param write(buf) points to uninitialised byte(s)
==109215==    at 0x4992240: write (write.c:26)
==109215==    by 0x491AFC4: _IO_file_write@@GLIBC_2.2.5 (fileops.c:1180)
==109215==    by 0x491A37F: new_do_write (fileops.c:448)
==109215==    by 0x491BFD8: _IO_do_write@@GLIBC_2.2.5 (fileops.c:425)
==109215==    by 0x491B63D: _IO_new_file_xsputn (fileops.c:1243)
==109215==    by 0x491B63D: _IO_file_xsputn@@GLIBC_2.2.5 (fileops.c:1196)
==109215==    by 0x48F69DC: outstring_func (vfprintf-internal.c:239)
==109215==    by 0x48F69DC: __vfprintf_internal (vfprintf-internal.c:1096)
==109215==    by 0x49B0926: __printf_chk (printf_chk.c:33)
==109215==    by 0x10A9B2: printf (stdio2.h:86)
==109215==    by 0x10A9B2: print_line (output.c:29)
==109215==    by 0x10BBFD: nic_format_buff (nwhois.c:130)
==109215==    by 0x10BE04: nic_string_search (nwhois.c:66)
==109215==    by 0x10BF82: get_nwhois (nwhois.c:40)
==109215==    by 0x10A747: main (dmitry.c:165)
==109215==  Address 0x4a7e040 is 0 bytes inside a block of size 1,024 alloc'd
==109215==    at 0x48407B4: malloc (vg_replace_malloc.c:381)
==109215==    by 0x490F8CB: _IO_file_doallocate (filedoalloc.c:101)
==109215==    by 0x491D0AF: _IO_doallocbuf (genops.c:347)
==109215==    by 0x491D0AF: _IO_doallocbuf (genops.c:342)
==109215==    by 0x491C477: _IO_file_overflow@@GLIBC_2.2.5 (fileops.c:744)
==109215==    by 0x491B63D: _IO_new_file_xsputn (fileops.c:1243)
==109215==    by 0x491B63D: _IO_file_xsputn@@GLIBC_2.2.5 (fileops.c:1196)
==109215==    by 0x4911A47: puts (ioputs.c:40)
==109215==    by 0x10A2D4: printf (stdio2.h:86)
==109215==    by 0x10A2D4: main (dmitry.c:28)
==109215== 
Registrant Organization: VELAMMAL INSTITUTE OF TECHNOLOGY
Registrant Street: REDACTED FOR PRIVACY
Registrant Street: REDACTED FOR PRIVACY
Registrant Street: REDACTED FOR PRIVACY
Registrant City: REDACTED FOR PRIVACY
Registrant State/Province: Tamil Nadu
Registrant Postal Code: REDACTED FOR PRIVACY
Registrant Country: IN
Registrant Phone: REDACTED FOR PRIVACY
Registrant Phone Ext: REDACTED FOR PRIVACY
Registrant Fax: REDACTED FOR PRIVACY
Registrant Fax Ext: REDACTED FOR PRIVACY
Registrant Email: Please contact the Registrar listed above
Registry Admin ID: REDACTED FOR PRIVACY
Admin Name: REDACTED FOR PRIVACY
Admin Organization: REDACTED FOR PRIVACY
Admin Street: REDACTED FOR PRIVACY
Admin Street: REDACTED FOR PRIVACY
Admin Street: REDACTED FOR PRIVACY
Admin City: REDACTED FOR PRIVACY
Admin State/Province: REDACTED FOR PRIVACY
Admin Postal Code: REDACTED FOR PRIVACY
Admin Country: REDACTED FOR PRIVACY
Admin Phone: REDACTED FOR PRIVACY
Admin Phone Ext: REDACTED FOR PRIVACY
Admin Fax: REDACTED FOR PRIVACY
Admin Fax Ext: REDACTED FOR PRIVACY
Admin Email: Please contact the Registrar listed above
Registry Tech ID: REDACTED FOR PRIVACY
Tech Name: REDACTED FOR PRIVACY
Tech Organization: REDACTED FOR PRIVACY
Tech Street: REDACTED FOR PRIVACY
Tech Street: REDACTED FOR PRIVACY
Tech Street: REDACTED FOR PRIVACY
Tech City: REDACTED FOR PRIVACY
Tech State/Province: REDACTED FOR PRIVACY
Tech Postal Code: REDACTED FOR PRIVACY
Tech Country: REDACTED FOR PRIVACY
Tech Phone: REDACTED FOR PRIVACY
Tech Phone Ext: REDACTED FOR PRIVACY
Tech Fax: REDACTED FOR PRIVACY
Tech Fax Ext: REDACTED FOR PRIVACY
Tech Email: Please contact the Registrar listed above
Name Server: ns3.dnsexit.com
Name Server: ns2.dnsexit.com
Name Server: ns1.dnsexit.com
DNSSEC: unsigned
URL of the ICANN Whois Inaccuracy Complaint Form: https://www.icann.org/wicf/
>>> Last update of WHOIS database: 2024-07-13T07:39:09Z <<<

For more information on Whois status codes, please visit https://icann.org/epp

Access to .IN WHOIS information is provided to assist persons in determining the contents of a domain name registration record in the .IN registry database. The data in this record is provided by .IN Registry for informational purposes only ,and .IN does not guarantee its accuracy.  This service is intended only for query-based access. You agree that you will use this data only for lawful purposes and that, under no circumstances will you use this data to (a) allow, enable, or otherwise support the transmission by e-mail, telephone, or facsimile of mass unsolicited, commercial advertising or solicitations to entities other than the data recipient's own existing customers; or (b) enable high volume, automated, electronic processes that send queries or data to the systems of Registry Operator or a Registrar, or NIXI except as reasonably necessary to register domain names or modify existing registrations. All rights reserved. .IN reserves the right to modify these terms at any time. By submitting this query, you agree to abide by this policy.

All scans completed, exiting
==109215== 
==109215== HEAP SUMMARY:
==109215==     in use at exit: 1,769 bytes in 4 blocks
==109215==   total heap usage: 672 allocs, 668 frees, 88,800 bytes allocated
==109215== 
==109215== LEAK SUMMARY:
==109215==    definitely lost: 0 bytes in 0 blocks
==109215==    indirectly lost: 0 bytes in 0 blocks
==109215==      possibly lost: 0 bytes in 0 blocks
==109215==    still reachable: 1,769 bytes in 4 blocks
==109215==         suppressed: 0 bytes in 0 blocks
==109215== Rerun with --leak-check=full to see details of leaked memory
==109215== 
==109215== Use --track-origins=yes to see where uninitialised values come from
==109215== For lists of detected and suppressed errors, rerun with: -s
==109215== ERROR SUMMARY: 19373 errors from 8 contexts (suppressed: 0 from 0)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants