<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Semantic Prince - PRINCE with logic in word order]]></title><description><![CDATA[<p dir="auto"><strong>Title:</strong> Semantic PRINCE - PRINCE with logic in word order<br />
<strong>Author:</strong> quasarwatch<br />
<strong>URL:</strong> <a href="https://github.com/quasarwatch/semantic-prince" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/quasarwatch/semantic-prince</a></p>
<p dir="auto"><strong>Description:</strong></p>
<p dir="auto">Classic PRINCE is a good tool but not efficient for me - it glues words in blind dictionary order. I added some logic to the word order. Semantic PRINCE trains a bigram model on RockYou passwords and makes chains with logic - the combinations people really use come first.</p>
<p dir="auto">Example: with dictionary <code>{i, love, you, cat, car, soup}</code> old PRINCE gives <code>ilove</code>, <code>iyou</code>, <code>icat</code>... in list order. Mine gives <code>iloveyou</code> first and <code>soupcar</code> last, because nobody picks <code>soupcar</code>.</p>
<p dir="auto"><strong>Features</strong></p>
<ul>
<li><strong>struct</strong> - word + tail patterns like <code>sunshine2024</code>, <code>dragon!</code>, <code>qwerty123</code>. The model knows which tails are common (years, <code>!</code>, <code>123</code>) and splits the budget across templates by their real frequency</li>
<li><strong>pairs</strong> - word+word joins ordered by the bigram model. Same candidate space as classic PRINCE, but sorted by probability</li>
<li><strong>chains</strong> - three-word chains for long passphrases (<code>ilovemymom</code> style), reaching lengths pairs cannot</li>
<li><strong>targeted mode</strong> - feed it a person's known words (<code>--personal words.txt</code>), a service name (<code>--service linkedin</code> adds linkedin/linked/lnkd/mylinkedin), or leet input (<code>--deleet</code> reads <code>p@ssw0rd</code> as <code>password</code> too). Everything gets ordered around those words</li>
<li><strong>scoring tool</strong> - <code>spg evaluate</code> measures your own candidate lists against a test set at 100K/1M/10M/100M checkpoints</li>
</ul>
<p dir="auto"><strong>Numbers</strong></p>
<p dir="auto">Model-only vs classic PRINCE (pp64, same top-5000 dictionary, fixed config). Clean cross-dump tests - the model never saw the target passwords:</p>
<ul>
<li><strong>linkedin (4.36M):</strong> x1.61 at 100K, x3.08 at 1M, x1.57 at 10M guesses, final <strong>199,602 cracked at 43M</strong> vs classic PRINCE 104,797 at 100M</li>
<li><strong>rockyou (validation):</strong> x2.24 at 100K, x3.24 at 1M, x1.63 at 10M, final <strong>150,078 at 43M</strong> vs 72,484</li>
<li>real stack test (replay dictionary first, then the generator), raw LinkedIn dump 5.09M: <strong>809,052 cracked at ~54M</strong> guesses, classic PRINCE gets 705,256</li>
</ul>
<p dir="auto"><strong>Speed</strong></p>
<p dir="auto">About 1.8M candidates/sec/core on pairs (struct ~650K/s, chains ~40K/s). Built for slow hashes (wallet formats, scrypt, high-iteration PBKDF2) and big salted lists, where every guess costs time. For fast hashes at GPU speed, masks and rules still win on raw throughput.</p>
<p dir="auto"><strong>Quick start</strong></p>
<ol>
<li>Download the repo and the release asset (<code>sp-model-rockyou-v2.tar.gz</code>, 61 MB) - the trained model is included, no training needed</li>
<li>Unpack the model next to the repo (it creates <code>data/</code>)</li>
<li>Generate and crack:</li>
</ol>
<pre><code>c/spg struct data/pw_uni.tsv data/pw_bi.tsv data/struct_templates.tsv data/struct_digits.tsv data/struct_syms.tsv 10000 1000000 &gt; short.txt
c/spg pairs data/pw_uni.tsv data/pw_bi.tsv 10000 pwbi 5000000 &gt;&gt; short.txt
hashcat -m 0 -a 0 hashes.txt short.txt
</code></pre>
<p dir="auto">Or pipe straight into hashcat: <code>spg pairs ... | hashcat -r best64.rule -m ... hashes.txt</code></p>
<p dir="auto">Real first output lines of the pairs layer (the model reflects RockYou-era habits): <code>hotmailcom</code>, <code>babyprincess</code>, <code>loveblue</code>, <code>sweetand</code>, <code>angelbaby</code>, <code>lovedaniel</code>, <code>lovegod</code>, <code>babyboy</code>.</p>
<p dir="auto"><strong>Limits (honest)</strong></p>
<ul>
<li>No leetspeak - use hashcat rules for that (measured: a leet layer adds under 1K hits)</li>
<li>No Cyrillic or other non-ASCII unless it was in the training data</li>
<li>Words it never saw need a <code>--personal</code> list</li>
<li>Not a replacement for the rule engine - it is the ordering brain in front of it</li>
</ul>
<p dir="auto">I want your feedback on this tool and to hear if you see potential in it.</p>
]]></description><link>https://forum.hashpwn.net/topic/207/semantic-prince-prince-with-logic-in-word-order</link><generator>RSS for Node</generator><lastBuildDate>Tue, 01 Dec 2026 03:02:44 GMT</lastBuildDate><atom:link href="https://forum.hashpwn.net/topic/207.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 27 Nov 2026 04:15:43 GMT</pubDate><ttl>60</ttl></channel></rss>