search for: decodestring

Displaying 5 results from an estimated 5 matches for "decodestring".

2004 Oct 19
1
[LLVMdev] Re:question about Insert callInst to call a function in library
...run before any code running. So now the decode part is llvm pass, could I do it like what I want? Thanks Qiuyu decode pass: using namespace llvm; #define endl "\n" namespace { struct DecodeStr : public FunctionPass{ virtual bool runOnFunction(Function &F); private: void DecodeString(Module *M); void get_randKey(Module *M); Constant *randKey; }; RegisterOpt<DecodeStr> X("DecodeStr", "Decode to visible string"); } bool DecodeStr::runOnFunction(Function &F){ get_randKey(F.getParent()); DecodeString(F.getParent()); return true; }...
2015 Mar 03
2
Synchronization problems between Win2k8R2 and samba
...;(SAMAccountName=Administrateur)" returns some strange results: ? some attributes like unicodePwd and supplementalCredentials are missing ? lots of attributes are base64 encoded, example: ?description:: Q29tcHRlIGTigJl1dGlsaXNhdGV1ciBk4oCZYWRtaW5pc3RyYXRpb24= (for information python base64.decodestring('Q29tcHRlIGTigJl1dGlsaXNhdGV1ciBk4oCZYWRtaW5pc3RyYXRpb24=') gives 'Compte d\xe2\x80\x99utilisateur d\xe2\x80\x99administration') On the 4 tests I did, I always get the same result. Is that normal or is something going wrong ? Regards -- Jean-Fran?ois
2015 Mar 04
1
Synchronization problems between Win2k8R2 and samba
...lts: >> ? some attributes like unicodePwd and supplementalCredentials are >> missing >> ? lots of attributes are base64 encoded, example: >> ?description:: >> Q29tcHRlIGTigJl1dGlsaXNhdGV1ciBk4oCZYWRtaW5pc3RyYXRpb24= >> (for information python >> base64.decodestring('Q29tcHRlIGTigJl1dGlsaXNhdGV1ciBk4oCZYWRtaW5pc3RyYXRpb24=') >> >> gives 'Compte d\xe2\x80\x99utilisateur d\xe2\x80\x99administration') >> >> On the 4 tests I did, I always get the same result. >> Is that normal or is something going wrong ? >> &gt...
2015 Mar 03
0
Synchronization problems between Win2k8R2 and samba
...)" > returns some strange results: > ? some attributes like unicodePwd and supplementalCredentials are missing > ? lots of attributes are base64 encoded, example: > ?description:: Q29tcHRlIGTigJl1dGlsaXNhdGV1ciBk4oCZYWRtaW5pc3RyYXRpb24= > (for information python > base64.decodestring('Q29tcHRlIGTigJl1dGlsaXNhdGV1ciBk4oCZYWRtaW5pc3RyYXRpb24=') > gives 'Compte d\xe2\x80\x99utilisateur d\xe2\x80\x99administration') > > On the 4 tests I did, I always get the same result. > Is that normal or is something going wrong ? > > Regards OK, Quite normal,...
2010 Feb 17
0
[PATCH] Provides the new node lifecycle events.
...f awake(request): + """ + The awake view. + """ + if 'content' not in request.POST.keys(): + return HttpResponseServerError('No data posted') + try: + raw = request.POST['content'] + content = yaml.load(base64.decodestring(raw)) + udi = content['node']['identifier'] + except Exception, error: + print str(error) + return HttpResponseServerError('Missing required parameter: identifier') + + current_node, created = Node.objects.get_or_create(udi=udi) + current_node.s...