Reverse Engineering Team Board

Reverse Engineering Team Board (
-   .NET Reverse Engineering (
-   -   Hasp 6.60 reverse help (

kesk 06-09-2015 04:38 AM

Hasp 6.60 reverse help
One of the software uses the above protection in .Net. There are no hardware locks in this software, only software.

There are 2 ways we can activate the softaware, online mode and c2v/v2c mode.

What I want to do is, copy the c2v/v2c file from one computer and install it in another computer. For this the hasp id on both the machines have to be the same.

In the existing license of the computer, the same vendor has supplied 2 programs. In both the softwares, the hasp id remains the same. So its based on some hardware of the system.

My questions is:

1. How does the hasp id generated in the above version.
2. How can I replicate the same hasp id on another machine.
3. I dug through the code but cant reach the relevant code for this id generation. Its obsfucated code in dll.
4. In the admin control center, localhos:1497, you can see the webpage where it gives the haspid. But the respective html pages are not in the computer. Where is this located.

How to go about the whole process. Any help would be appreciated. I have cr@cked some programs (win32 & .Net) in the past.

Git 06-09-2015 05:23 AM

Could you set up a web page on localhost, but a different port, thatgives the haspid you need, then hack the program that accesses the web page use our new port number rather than 1407?

If you browse localhost:1497, what do you see if you look at the Source?. Maybe there are references to javascript in TEMP or similar?


kesk 06-10-2015 04:20 AM

I can view the code but there is no hint on the location of the html/javascript files.


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7">
<title>SafeNet Sentinel ACC</title>
<link href="hasplm1371222143.css" rel="StyleSheet" type="text/css">
<script type="text/javascript" src="cal.js"></script>
<script type="text/javascript" src="md5.js"></script>
<script type="text/javascript" src="errors.js"></script>
<script type="text/javascript">
var enabledetach=0;
var commuting=1;
var proxySupport="1";
var debug_acc=parseInt("0");
var debug_llm=parseInt("0");
var glbAuth=1;
var passACC=0;
var lmPort=parseInt("1947");
if (isNaN(lmPort)) lmPort=1947;
var l10nData=[{'name':'English',
var currentHash="";
var vmaj=15;
var vmin=0;
var vbuildnumber=36539;
var vint=vmaj*1000+vmin;
<div id="tooltip" style="position:absolute; visibility:hidden; width:300px; left:-200px; z-index: 100"></div>
<script type="text/javascript" src="hasplm1371222143.js"></script>
<body onload="myStart()" onBlur="popHide()">
<a name="top"></a>
<!-- header block -->
<table border="0" cellpadding="2" cellspacing="0" width="100%" bgcolor="#ffffff">
 <tr height="6"><td></td><td></td></tr>
 <tr class="head">
  <td class="head">&nbsp;&nbsp;<img src="safenet2.jpg" alt="Sentinel Logo"></td>
  <td class="headr" align="right"><img src="sentinel_acc.gif"></td>
 <tr height="4" bgcolor="#FFFFFF"><td></td><td></td></tr>
 <tr height="8" bgcolor="#F39108"><td></td><td></td></tr>
<!-- main block: menu | dataarea -->
<table border="0" cellpadding="2" cellspacing="0" width="100%" bgcolor="#ffffff">
 <col width="120">
 <col width="5">
 <tr height="6"><td></td><td></td></tr>
    <td align="left" valign="top">
    <div id="mymenu"></div>
<td class="dataarea" valign="top">
 <table border=0 width="100%">
<tr><td align="center"><table border=0 width="95%"><tr><td id="myheader" class="myheader">&nbsp;</td></tr></table></td></tr>
  <td class="innerdata" align="center" valign="top">
    <div id="mydata"></div>
  <td class="innerdata" align="center" valign="top">
    <table border="0" cellpadding="2" cellspacing="0" width="95%"><tr><td>
    <div class="details" id="myinfo"></div><br>
<h1><center>Sentinel ACC does not work without JavaScript !</center></h1>
<center>Sentinel Admin Control Center cannot run because JavaScript is not
enabled in your browser.</center>
<center>Go to the security settings in your browser
and enable JavaScript.</center>
<script type="text/javascript">
//  '<haspscope><vendor id="37515" /></haspscope>'+
  '<admin><hasp format="JSON"><element name="*"</hasp></admin>");
setTitle  ("Sentinel Keys");
setHeader ("Sentinel Keys Available on TEST-PC");
<table border="0" cellpadding="2" cellspacing="0" width="100%">
<td id="flags" align="left" valign="center">
<td align="right" valign="center">
<a class="text" href="ACC_help_haspkeys.html"
<a class="text" href="#top"
<font size="-1">
 <span id="refreshtime">&nbsp;</span>

Here is a sample page where it displays the hasp sl key. But no mention of how it got the key

butaktelco 06-10-2015 06:12 AM

trying to understand the API function of HASP.
basically Soft Lock (SL)/Hardware have same feature.

SDK can generate any license models like Activation code, licensing hardware & Soft Lock.

kesk 06-11-2015 01:57 AM

Here is the webpage appearing on the localhost page. It shows the hasp is SL legacy. Also, the html/js page is somehow appearing in the temp internet explorer directory and I can see the relevant js file. But the routine that generates the id is not seen.

The picture is below
<a href=""><img src="" title="source:" /></a>
Any further guidance will be helpful. Also please bear with me as I am new to HASP.

kesk 06-11-2015 03:14 AM

How is the hasp id generated? is it based on hdd, mac, or any other hardware ?

Where can I learn about the HASP API/SDK?

butaktelco 06-12-2015 04:49 AM

follow below links will get FREE SDK

starting "BUSINES STUDIO" study & Learning how to do licensing.


kesk 11-17-2015 08:25 AM

I am going nowhere with the HASP. Its too complicated for me. Please close the thread.

user1 11-17-2015 03:39 PM

Eh complicated. All we don't understand is complicated.

Just try harder ti, if not find RE people that can help.

nodongle 11-17-2015 11:38 PM

The HTML page generated dynamically by HASP license manager (hasplms.exe).

You need research how .net software using the HASP key.
If there is no enveloped files, simple emulator will be enough.

All times are GMT -4. The time now is 04:20 AM.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.