Built motion from commit (unavailable).|2.3.2
[motion2.git] / server / config / seedUsers.js
index ec51721..f4de7bf 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x8ff3=['password','friend','wss','ulaw','yes','/etc/pki/tls/private/motion.key','actpass','\x22%s\x22\x20<%s>','User','bulkCreate','add\x20user','catch','log','util','../mysqldb','push','format','%s%s','agent','%s%s@xcally.com'];(function(_0x21549c,_0x6d64d1){var _0x426cbd=function(_0x323f5b){while(--_0x323f5b){_0x21549c['push'](_0x21549c['shift']());}};_0x426cbd(++_0x6d64d1);}(_0x8ff3,0x1b1));var _0x38ff=function(_0x5d9a85,_0x55221e){_0x5d9a85=_0x5d9a85-0x0;var _0x1ef8aa=_0x8ff3[_0x5d9a85];return _0x1ef8aa;};'use strict';var util=require(_0x38ff('0x0'));var db=require(_0x38ff('0x1'))['db'];var users=[];for(var i=0x1;i<=0xc8;i+=0x1){users[_0x38ff('0x2')]({'name':util[_0x38ff('0x3')](_0x38ff('0x4'),'agent',i),'fullname':util[_0x38ff('0x3')](_0x38ff('0x4'),_0x38ff('0x5'),i),'email':util['format'](_0x38ff('0x6'),'agent',i),'role':_0x38ff('0x5'),'password':_0x38ff('0x7'),'internal':0xfa0+i,'type':_0x38ff('0x8'),'transport':['udp','ws',_0x38ff('0x9')],'disallow':['all'],'allow':[_0x38ff('0xa')],'defaultuser':util[_0x38ff('0x3')](_0x38ff('0x4'),'agent',i),'encryption':'yes','avpf':_0x38ff('0xb'),'force_avp':_0x38ff('0xb'),'icesupport':_0x38ff('0xb'),'dtlsenable':_0x38ff('0xb'),'dtlsverify':'no','dtlscertfile':'/etc/pki/tls/certs/motion.crt','dtlsprivatekey':_0x38ff('0xc'),'dtlssetup':_0x38ff('0xd'),'callerid':util[_0x38ff('0x3')](_0x38ff('0xe'),util[_0x38ff('0x3')]('%s%s',_0x38ff('0x5'),i),0xfa0+i)});}db[_0x38ff('0xf')][_0x38ff('0x10')](users)['then'](function(){console['log'](_0x38ff('0x11'));})[_0x38ff('0x12')](function(_0x42727e){console[_0x38ff('0x13')](_0x42727e);});
\ No newline at end of file
+var _0x16bb=['format','%s%s','%s%s@xcally.com','agent','friend','udp','all','ulaw','yes','/etc/pki/tls/certs/motion.crt','actpass','\x22%s\x22\x20<%s>','User','bulkCreate','then','log','catch','util','../mysqldb'];(function(_0x497e23,_0x57b995){var _0xa94bef=function(_0x25cfdb){while(--_0x25cfdb){_0x497e23['push'](_0x497e23['shift']());}};_0xa94bef(++_0x57b995);}(_0x16bb,0x1ec));var _0xb16b=function(_0xfc53fc,_0x4204d6){_0xfc53fc=_0xfc53fc-0x0;var _0x423828=_0x16bb[_0xfc53fc];return _0x423828;};'use strict';var util=require(_0xb16b('0x0'));var db=require(_0xb16b('0x1'))['db'];var users=[];for(var i=0x1;i<=0xc8;i+=0x1){users['push']({'name':util[_0xb16b('0x2')](_0xb16b('0x3'),'agent',i),'fullname':util[_0xb16b('0x2')]('%s%s','agent',i),'email':util[_0xb16b('0x2')](_0xb16b('0x4'),_0xb16b('0x5'),i),'role':_0xb16b('0x5'),'password':'password','internal':0xfa0+i,'type':_0xb16b('0x6'),'transport':[_0xb16b('0x7'),'ws','wss'],'disallow':[_0xb16b('0x8')],'allow':[_0xb16b('0x9')],'defaultuser':util[_0xb16b('0x2')](_0xb16b('0x3'),'agent',i),'encryption':_0xb16b('0xa'),'avpf':_0xb16b('0xa'),'force_avp':_0xb16b('0xa'),'icesupport':_0xb16b('0xa'),'dtlsenable':_0xb16b('0xa'),'dtlsverify':'no','dtlscertfile':_0xb16b('0xb'),'dtlsprivatekey':'/etc/pki/tls/private/motion.key','dtlssetup':_0xb16b('0xc'),'callerid':util['format'](_0xb16b('0xd'),util['format'](_0xb16b('0x3'),_0xb16b('0x5'),i),0xfa0+i)});}db[_0xb16b('0xe')][_0xb16b('0xf')](users)[_0xb16b('0x10')](function(){console[_0xb16b('0x11')]('add\x20user');})[_0xb16b('0x12')](function(_0x300fc9){console['log'](_0x300fc9);});
\ No newline at end of file