<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Assistance w/configuring Crack using gcc in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/assistance-w-configuring-crack-using-gcc/m-p/2715882#M757409</link>
    <description>Hi,&lt;BR /&gt;I just did this ..with the help of this link&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x358337f45ef7d4118fef0090279cd0f9,00.html" target="_blank"&gt;http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x358337f45ef7d4118fef0090279cd0f9,00.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;After making thoose changes run&lt;BR /&gt;&lt;BR /&gt;Crack -makeonly&lt;BR /&gt;&lt;BR /&gt;then&lt;BR /&gt;&lt;BR /&gt;Crack -makedict&lt;BR /&gt;&lt;BR /&gt;then you are ready to go.&lt;BR /&gt;&lt;BR /&gt;Crack [filename]&lt;BR /&gt;eg: Crack -nice 10 /etc/passwd&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Richard&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Thu, 02 May 2002 16:25:21 GMT</pubDate>
    <dc:creator>someone_4</dc:creator>
    <dc:date>2002-05-02T16:25:21Z</dc:date>
    <item>
      <title>Assistance w/configuring Crack using gcc</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/assistance-w-configuring-crack-using-gcc/m-p/2715880#M757407</link>
      <description>Hi all.  I'm not a programmer by nature, so bear with me.  I'm trying to set up Crack5.0 and am running into a couple problems.  I'm sure it's not too bad, I'm just not sure if I need to compile Crack, gcc, and/or binutils as well.  I "have" looked at all the other threads&amp;amp;papers on this, but they haven't helped as of yet.  Here's what I've done so far.&lt;BR /&gt;I've loaded a copy of Crack5.0 under:&lt;BR /&gt;     "/tmp/Crack5.0/c50a"&lt;BR /&gt;I've loaded the following under "/opt/FAST/":&lt;BR /&gt;     gcc-2.95.2 (Can't get ahold of C-ANSI-C)&lt;BR /&gt;     binutils-2.9.1&lt;BR /&gt;From here I've done the following:&lt;BR /&gt;- vi'd "~/c50a/Crack" and set "CRACK_PATH" to:&lt;BR /&gt;    /tmp/Crack5.0/c50a:/opt/FAST/gcc-2.95.2:/opt/FAST/binutils-2.9.1:/usr/local/bin:&lt;OTHER stuff=""&gt;&lt;BR /&gt;- commented out the "cc" info and uncommented the 'gcc' stuff:&lt;BR /&gt;    # gcc 2.7.2&lt;BR /&gt;    CC=gcc&lt;BR /&gt;    CFLAGS="-g -O2 -Wall $C5FLAGS"&lt;BR /&gt;    LIBS=-lcrypt # uncomment only if necessary to use stdlib crypt(), eg: NetBSD MD5&lt;BR /&gt;- vi'd '/tmp/crack5.0/c50a/src/libdes/Makefile' and commented accordingly the lines for 'gcc'.&lt;BR /&gt;    CC=gcc&lt;BR /&gt;    CFLAGS= -O4 -fomit-frame-pointer -funroll-loops $(OPTS) $(CFLAG)&lt;BR /&gt;-Note: I did not do any compiling of '~/binutils or ~/gcc'.  Not sure if I need to or not.&lt;BR /&gt;-Proceeded to do a './Crack -makeonly' and get the following messages:&lt;BR /&gt;------------------------------------------&lt;BR /&gt;# ./Crack -makeonly&lt;BR /&gt;Crack 5.0a: The Password Cracker.&lt;BR /&gt;(c) Alec Muffett, 1991, 1992, 1993, 1994, 1995, 1996&lt;BR /&gt;System: HP-UX nmkt B.11.00 U 9000/800 606319383 unlimited-user license&lt;BR /&gt;Home: /tmp/crack5.0/c50a&lt;BR /&gt;Invoked: ./Crack -makeonly&lt;BR /&gt;Option: -makeonly enabled&lt;BR /&gt;Stamp: hp-ux-b-9000/800&lt;BR /&gt;&lt;BR /&gt;Crack: making utilities in run/bin/hp-ux-b-9000/800&lt;BR /&gt;        find . -name "*~" -print | xargs -n50 rm -f&lt;BR /&gt;        ( cd src; for dir in * ; do ( cd $dir ; make clean ) ; done )&lt;BR /&gt;        rm -f dawglib.o debug.o rules.o stringlib.o *~&lt;BR /&gt;        /bin/rm -f *.o tags core rpw destest des speed libdes.a .nfs* *.old         *.bak destest rpw des speed&lt;BR /&gt;        rm -f *.o *~&lt;BR /&gt;`../../run/bin/hp-ux-b-9000/800/libc5.a' is up to date.&lt;BR /&gt;        gcc -g -O2 -Wall -DUSE_STRING_H -DUSE_STDLIB_H -DUSE_SIGNAL_H -DUSE_SYS_TYPES_H -DUSE_UNISTD_H -&lt;BR /&gt;DUSE_PWD_H -I../lib -o ../../run/bin/hp-ux-b-9000/800/dawg dawg.c ../../run/bin/hp-ux-b-9000/800/libc5.a&lt;BR /&gt; -lcrypt&lt;BR /&gt;Make: Cannot load gcc.  Stop.&lt;BR /&gt;*** Error exit code 1&lt;BR /&gt;&lt;BR /&gt;Stop.&lt;BR /&gt;*** Error exit code 1&lt;BR /&gt;&lt;BR /&gt;Stop.&lt;BR /&gt;-------------------------------------------&lt;BR /&gt;Any further thoughts...&lt;/OTHER&gt;</description>
      <pubDate>Thu, 02 May 2002 16:21:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/assistance-w-configuring-crack-using-gcc/m-p/2715880#M757407</guid>
      <dc:creator>Jeffrey Davis_1</dc:creator>
      <dc:date>2002-05-02T16:21:07Z</dc:date>
    </item>
    <item>
      <title>Re: Assistance w/configuring Crack using gcc</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/assistance-w-configuring-crack-using-gcc/m-p/2715881#M757408</link>
      <description>Hi Jeff,&lt;BR /&gt;&lt;BR /&gt;This looks to me like it is not able to find gcc in it's path. Either set the path using the PATH statement before the compilation or specify full path to gcc in your Makefile.&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Thu, 02 May 2002 16:24:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/assistance-w-configuring-crack-using-gcc/m-p/2715881#M757408</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2002-05-02T16:24:49Z</dc:date>
    </item>
    <item>
      <title>Re: Assistance w/configuring Crack using gcc</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/assistance-w-configuring-crack-using-gcc/m-p/2715882#M757409</link>
      <description>Hi,&lt;BR /&gt;I just did this ..with the help of this link&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x358337f45ef7d4118fef0090279cd0f9,00.html" target="_blank"&gt;http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x358337f45ef7d4118fef0090279cd0f9,00.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;After making thoose changes run&lt;BR /&gt;&lt;BR /&gt;Crack -makeonly&lt;BR /&gt;&lt;BR /&gt;then&lt;BR /&gt;&lt;BR /&gt;Crack -makedict&lt;BR /&gt;&lt;BR /&gt;then you are ready to go.&lt;BR /&gt;&lt;BR /&gt;Crack [filename]&lt;BR /&gt;eg: Crack -nice 10 /etc/passwd&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Richard&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 02 May 2002 16:25:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/assistance-w-configuring-crack-using-gcc/m-p/2715882#M757409</guid>
      <dc:creator>someone_4</dc:creator>
      <dc:date>2002-05-02T16:25:21Z</dc:date>
    </item>
    <item>
      <title>Re: Assistance w/configuring Crack using gcc</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/assistance-w-configuring-crack-using-gcc/m-p/2715883#M757410</link>
      <description>Hi all.  Thanks for the hint.  I got the '-makeonly' to run fine.  &lt;BR /&gt;When I run the '-makedict' it seems ok except for 2 messages.&lt;BR /&gt;Please advise as to wether I should be concerned with these or not.&lt;BR /&gt;Thanks in advance.&lt;BR /&gt;------------------------------------------&lt;BR /&gt;(ending output from './Crack -makedict')&lt;BR /&gt;&lt;BR /&gt;Crack: making dictionary groups, please be patient...&lt;BR /&gt;doing group 1...&lt;BR /&gt;/tmp/crack5.0/c50a/scripts/smartcat[36]: /usr/dict/*words*: Cannot find or open the file.&lt;BR /&gt;doing group 2...&lt;BR /&gt;doing group 3...&lt;BR /&gt;mkdictgrps: uniq'ing dictionary groups...&lt;BR /&gt;group 1 and 2...&lt;BR /&gt;group 1 and 3...&lt;BR /&gt;group 2 and 3...&lt;BR /&gt;mkdictgrps: compressing dictionary groups...&lt;BR /&gt;/tmp/crack5.0/c50a/scripts/smartcomp[15]: gzip:  not found.&lt;BR /&gt;/tmp/crack5.0/c50a/scripts/smartcomp[15]: gzip:  not found.&lt;BR /&gt;/tmp/crack5.0/c50a/scripts/smartcomp[15]: gzip:  not found.&lt;BR /&gt;Crack: Created new dictionaries...&lt;BR /&gt;Crack: makedict done&lt;BR /&gt;</description>
      <pubDate>Thu, 02 May 2002 16:49:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/assistance-w-configuring-crack-using-gcc/m-p/2715883#M757410</guid>
      <dc:creator>Jeffrey Davis_1</dc:creator>
      <dc:date>2002-05-02T16:49:13Z</dc:date>
    </item>
    <item>
      <title>Re: Assistance w/configuring Crack using gcc</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/assistance-w-configuring-crack-using-gcc/m-p/2715884#M757411</link>
      <description>Hi Jeff,&lt;BR /&gt;I dont rememeber if i got thoose errors. I know I got the first one about the *make* and it didnt seem to effect anything. What happends wwhen you try to run it?&lt;BR /&gt;&lt;BR /&gt;./Crack /etc/passwd&lt;BR /&gt;&lt;BR /&gt;that will make a Reporter that you can execute and see the report. What I did was make a test user and give a simple password of abc123 and it worked I saw it in the report in the "passwords cracked as of ".&lt;BR /&gt;&lt;BR /&gt;Richard</description>
      <pubDate>Thu, 02 May 2002 18:07:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/assistance-w-configuring-crack-using-gcc/m-p/2715884#M757411</guid>
      <dc:creator>someone_4</dc:creator>
      <dc:date>2002-05-02T18:07:36Z</dc:date>
    </item>
    <item>
      <title>Re: Assistance w/configuring Crack using gcc</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/assistance-w-configuring-crack-using-gcc/m-p/2715885#M757412</link>
      <description>Jeff,&lt;BR /&gt;&lt;BR /&gt;I have a suspecion that your dictonary used by crack is not properly built. To verify that create a user with a simple password like 'cat' and see if your crack can crack the program.&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Thu, 02 May 2002 18:22:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/assistance-w-configuring-crack-using-gcc/m-p/2715885#M757412</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2002-05-02T18:22:32Z</dc:date>
    </item>
    <item>
      <title>Re: Assistance w/configuring Crack using gcc</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/assistance-w-configuring-crack-using-gcc/m-p/2715886#M757413</link>
      <description>Hi. This sounds good.  But all my systems are trusted.  Any suggestions on running against these?</description>
      <pubDate>Thu, 02 May 2002 18:25:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/assistance-w-configuring-crack-using-gcc/m-p/2715886#M757413</guid>
      <dc:creator>Jeffrey Davis_1</dc:creator>
      <dc:date>2002-05-02T18:25:28Z</dc:date>
    </item>
    <item>
      <title>Re: Assistance w/configuring Crack using gcc</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/assistance-w-configuring-crack-using-gcc/m-p/2715887#M757414</link>
      <description>Hi Jeffrey,&lt;BR /&gt;&lt;BR /&gt;You need to modify your conf/dictgrps.conf file to replace /usr/dict with /usr/share/dict. Leave the remaining entries as they are.&lt;BR /&gt;&lt;BR /&gt;As per the trusted system, the good thing about it is that an ordinary user cannot look at the encrypted passwords to crack. And when you create the system to trusted for the first time, it expires the user passwords so that users will change them to stronger passwords (ofcourse you can override this option too). If you still want to crack the passwords, you need to write a script that searches files under /tcb/files/auth in [a-b][A-B] directories, picks up the users and their passwords into a file. Then you need to join this file and /etc/passwd to get the original password file. You need to put it in a secured directory and run Crack on it otherwise it defeats the purpose of the system being trusted.&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Thu, 02 May 2002 19:02:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/assistance-w-configuring-crack-using-gcc/m-p/2715887#M757414</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2002-05-02T19:02:25Z</dc:date>
    </item>
    <item>
      <title>Re: Assistance w/configuring Crack using gcc</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/assistance-w-configuring-crack-using-gcc/m-p/2715888#M757415</link>
      <description>I dont know if you can run on a trusted system. I have not tried it .. The system I was working on was not trusted. &lt;BR /&gt;&lt;BR /&gt;I went to a trusted system and went to &lt;BR /&gt;/tcb/files/auth&lt;BR /&gt;and ran crack against one of my users. I see that it did not like that file.&lt;BR /&gt;:(&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Richard</description>
      <pubDate>Thu, 02 May 2002 19:05:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/assistance-w-configuring-crack-using-gcc/m-p/2715888#M757415</guid>
      <dc:creator>someone_4</dc:creator>
      <dc:date>2002-05-02T19:05:22Z</dc:date>
    </item>
  </channel>
</rss>

