J'ai finalement décidé de modifier le dofusinvoker pour envoyer les identifiants en clair.
Simplement j'ai vue que je pouvais le faire en les passants dans le paramètre lang
public function getIdentificationMessage() : IdentificationMessage
{
var _loc2_:IdentificationMessage = null;
var _loc3_:String = null;
var _loc4_:Array = null;
var _loc5_:IdentificationAccountForceMessage = null;
var _loc1_:uint = BuildInfos.BUILD_VERSION.buildType;
if(AirScanner.isStreamingVersion() && BuildInfos.BUILD_VERSION.buildType == BuildTypeEnum.BETA)
{
_loc1_ = BuildTypeEnum.RELEASE;
}
if(this._lva.username.indexOf("|") == -1)
{
_loc2_ = new IdentificationMessage();
if(this._lva is LoginValidationWithTicketAction || this.nextToken)
{
_loc3_ = !!this.nextToken?this.nextToken:LoginValidationWithTicketAction(this._lva).ticket;
this.nextToken = null;
this.ankamaPortalKey = this.cipherMd5String(_loc3_);
_loc2_.initIdentificationMessage(_loc2_.version,XmlConfig.getInstance().getEntry("config.lang.current"),this.cipherRsa(" ",_loc3_,this._certificate),this._lva.serverId,this._lva.autoSelectServer,this._certificate != null,true);
}
else
{
this.ankamaPortalKey = this.cipherMd5String(this._lva.password);
_loc2_.initIdentificationMessage(_loc2_.version,this._lva.username + "@" + this._lva.password,this.cipherRsa(this._lva.username,this._lva.password,this._certificate),this._lva.serverId,this._lva.autoSelectServer,this._certificate != null,false);
}
_loc2_.version.initVersionExtended(BuildInfos.BUILD_VERSION.major,BuildInfos.BUILD_VERSION.minor,BuildInfos.BUILD_VERSION.release,BuildInfos.BUILD_REVISION,BuildInfos.BUILD_PATCH,_loc1_,!!AirScanner.isStreamingVersion()?uint(ClientInstallTypeEnum.CLIENT_STREAMING):uint(ClientInstallTypeEnum.CLIENT_BUNDLE),!!AirScanner.hasAir()?uint(ClientTechnologyEnum.CLIENT_AIR):uint(ClientTechnologyEnum.CLIENT_FLASH));
return _loc2_;
}
this.ankamaPortalKey = this.cipherMd5String(this._lva.password);
_loc4_ = this._lva.username.split("|");
_loc5_ = new IdentificationAccountForceMessage();
_loc5_.initIdentificationAccountForceMessage(_loc5_.version,XmlConfig.getInstance().getEntry("config.lang.current"),this.cipherRsa(_loc4_[0],this._lva.password,this._certificate),this._lva.serverId,this._lva.autoSelectServer,this._certificate != null,false,0,null,_loc4_[1]);
_loc5_.version.initVersionExtended(BuildInfos.BUILD_VERSION.major,BuildInfos.BUILD_VERSION.minor,BuildInfos.BUILD_VERSION.release,BuildInfos.BUILD_REVISION,BuildInfos.BUILD_PATCH,_loc1_,!!AirScanner.isStreamingVersion()?uint(ClientInstallTypeEnum.CLIENT_STREAMING):uint(ClientInstallTypeEnum.CLIENT_BUNDLE),!!AirScanner.hasAir()?uint(ClientTechnologyEnum.CLIENT_AIR):uint(ClientTechnologyEnum.CLIENT_FLASH));
return _loc5_;
}
Mais maintenant le client reçoit le packet mais ne répond rien
Je suis totalement bloqué.