search for: base64_decode

Displaying 13 results from an estimated 13 matches for "base64_decode".

2009 Apr 07
1
AEL2, BASE64_DECODE and hexadecimal
Hi, I'm trying to pass a single carriage return (0x0d in hexa) to Sendtext in an AEL2 file like this : SendText(${BASE64_DECODE(DQ==)}); Value sent (8 bytes long) is very strange : Content-Type: text/plain;charset=UTF-8 Content-Length: 8 ?ez?== Any workaround ? Regards -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090407/3...
2018 Mar 28
5
Accentuated characters issue when receiving attributes from "samba user syncpasswords"
I receive stdin input from "samba user syncpasswords" in my python script. The user is created with ' Active Directory Users and Computers', and have some accentuated characters in their givenName and/or familyName (sn) When parsing the diff, the CN reads of, but weird characters appears in the attributes instead of the right name : INFO:root:DN found: CN=Arsène
2006 Jul 05
1
TMail + Receing mail and extract attachments
...pop.finish >> #Mailmain << class Mailman < ActionMailer::Base def receive(email) #puts email mail = TMail::Mail.parse(email) mail.parts.each do |part| if ''image/jpeg'' == part.content_type part_type = part.content_type part_body = part.body.base64_decode filename = part.disposition_param(''filename'') puts part_type puts "----- Separator -----" puts part_body puts "----- Separator ---" puts filename end end #~ #ticket = Ticket.new #~ #ticket.from_email = ema...
2017 Aug 30
1
non-standard base64 functions in tinc 1.1
...ls.c b/src/utils.c index fadfd05..43d4840 100644 --- a/src/utils.c +++ b/src/utils.c @@ -75,14 +75,14 @@ int b64decode(const char *src, void *dst, int length) { uint32_t triplet = 0; unsigned char *udst = (unsigned char *)dst; - for(i = 0; i < length && src[i]; i++) { - triplet |= base64_decode[src[i] & 0xff] << (6 * (i & 3)); + for(i = 0; i < length && src[i] && src[i] != '='; i++) { + triplet = (triplet << 6) | base64_decode[src[i] & 0xff]; if((i & 3) == 3) { if(triplet & 0xff000000U) return 0; - udst[0] = triplet...
2018 Mar 28
1
Accentuated characters issue when receiving attributes from "samba user syncpasswords"
...gt; > INFO:root:Attribute found: objectSid = > > S-1-5-21-1504766521-268068577-265870750-1120 > > INFO:root:Attribute found: sAMAccountName = arsene.lupin > > > > When using regular characters, everything is fine > > there is nothing weird > > php > echo base64_decode('QXJzw6huZSBMdXBpbg=='); > Arsène Lupin This is correct. The :: in the LDIF indicates that the value is base- 64 encoded, possibly over multiple lines (just as normal strings can be over multiple lines). We try and honour that RFC. Ideally parse it with an LDIF parser. Andrew Bartle...
2008 Dec 13
2
Need Help in converting php encryption decryption code to ruby on rails
..._text, $i, 16 ) ^ pack( ''H*'', md5 ( $iv ) ); $enc_text .= $block; $iv = substr( $block . $iv, 0, 512 ) ^ $password; $i += 16; } return base64_encode( $enc_text ); } function md5_decrypt( $enc_text, $password, $iv_len = 16 ) { $enc_text = base64_decode( $enc_text ); $n = strlen( $enc_text ); $i = $iv_len; $plain_text = ''''; $iv = substr( $password ^ substr( $enc_text, 0, $iv_len ), 0, 512 ); while ( $i < $n ) { $block = substr( $enc_text, $i, 16 ); $plain_text .= $block ^ pack( '...
2018 Mar 28
0
broken mailing-list -> Re: Accentuated characters issue when receiving attributes from "samba user syncpasswords"
...ibute found: objectSid = > > S-1-5-21-1504766521-268068577-265870750-1120 > > INFO:root:Attribute found: sAMAccountName = arsene.lupin > > > > When using regular characters, everything is fine > > there is nothing weird > > php > echo base64_decode('QXJzw6huZSBMdXBpbg=='); > Arsène Lupin
2009 Nov 19
2
Asterisk 1.4.27, 1.6.0.18, and 1.6.1.10 Now Available
...73. Reported by dcolombo. Tested by dcolombo, mbrancaleoni. Patch by mbrancaleoni.) * manager keeps creating /tmp/ast-ami-XXXXXX files (without deleting) when a single manager client remains logged in (closes issue #15730. Reported by zmehmood. Tested by zmehmood. Patch by junky.) * BASE64_DECODE() adds garbage end end of decoded string (closes issue #15271. Reported by chappell. Tested by kobaz. Patch by chappell.) * Fix ExternalIVR Documentation in 1.4 (closes issue #16220. Reported and patched by thedavidfactor.) Thank you for your continued support of Asterisk!
2009 Nov 19
2
Asterisk 1.4.27, 1.6.0.18, and 1.6.1.10 Now Available
...73. Reported by dcolombo. Tested by dcolombo, mbrancaleoni. Patch by mbrancaleoni.) * manager keeps creating /tmp/ast-ami-XXXXXX files (without deleting) when a single manager client remains logged in (closes issue #15730. Reported by zmehmood. Tested by zmehmood. Patch by junky.) * BASE64_DECODE() adds garbage end end of decoded string (closes issue #15271. Reported by chappell. Tested by kobaz. Patch by chappell.) * Fix ExternalIVR Documentation in 1.4 (closes issue #16220. Reported and patched by thedavidfactor.) Thank you for your continued support of Asterisk!
2015 Sep 24
2
decode http hack attempt?
Can anyone de-cypher the second entry for me? --------------------- httpd Begin ------------------------ Requests with error response codes 403 Forbidden /: 9 Time(s) /?c=4e5e5d7364f443e28fbf0d3ae744a59a: 3 Time(s) I have found the string via Google but have not located any explanation. -- *** e-Mail is NOT a SECURE channel *** Do NOT transmit
2012 Oct 02
2
[PATCH] Add SCRAM-SHA-1 password scheme
...SDB_RESULT_OK: - if (!verify_credentials(request, credentials, size)) { + fields = t_strsplit(t_strndup(credentials, size), ","); + + iter = atoi(fields[0]); + salt = fields[1]; + + len = strlen(fields[2]); + request->stored_key = buffer_create_dynamic(request->pool, + MAX_BASE64_DECODED_SIZE(len)); + if (base64_decode(fields[2], len, NULL, + request->stored_key) < 0) { auth_request_log_info(auth_request, "scram-sha-1", - "password mismatch"); + "Invalid base64 encoding" + "of StoredKey in passdb&quot...
2010 Nov 10
16
Managing private key files; content=>file vs. binary content.
Hi all, Hi all, We use puppet for, amongst other things, managing the private-key files needed for things like SSL certificates for HTTPS web servers. We have a few constraints on how these are handled, and changes in recent versions of puppet are making this harder than it perhaps ought to be to implement, so I''m curious to know how others are handling it. A site''s private
2008 Jun 12
10
Ajax.Updater not working in IE, tried everything
hi, i am basically using a button, Prototype/AJAX, and PHP to update a user''s location. something simple as typing ''Chicago, IL''. After the script, it rewrites the result in a div tag. here is the form i''m using: <div id="hometown_result">Aurora, IL</div> <form action="" method="post"