Built motion from commit 19a84241.|2.5.34
[motion2.git] / server / config / seedUsers.js
index fd4ac9e..c119ad9 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x97df=['udp','wss','all','yes','/etc/pki/tls/certs/motion.crt','/etc/pki/tls/private/motion.key','actpass','\x22%s\x22\x20<%s>','User','bulkCreate','then','log','add\x20user','catch','util','../mysqldb','format','agent','%s%s','%s%s@xcally.com','password','friend'];(function(_0x35083a,_0x50630c){var _0x1c705b=function(_0x1996f8){while(--_0x1996f8){_0x35083a['push'](_0x35083a['shift']());}};_0x1c705b(++_0x50630c);}(_0x97df,0x12c));var _0xf97d=function(_0x31cb5f,_0x2df766){_0x31cb5f=_0x31cb5f-0x0;var _0x586042=_0x97df[_0x31cb5f];return _0x586042;};'use strict';var util=require(_0xf97d('0x0'));var db=require(_0xf97d('0x1'))['db'];var users=[];for(var i=0x1;i<=0xc8;i+=0x1){users['push']({'name':util[_0xf97d('0x2')]('%s%s',_0xf97d('0x3'),i),'fullname':util[_0xf97d('0x2')](_0xf97d('0x4'),_0xf97d('0x3'),i),'email':util[_0xf97d('0x2')](_0xf97d('0x5'),_0xf97d('0x3'),i),'role':_0xf97d('0x3'),'password':_0xf97d('0x6'),'internal':0xfa0+i,'type':_0xf97d('0x7'),'transport':[_0xf97d('0x8'),'ws',_0xf97d('0x9')],'disallow':[_0xf97d('0xa')],'allow':['ulaw'],'defaultuser':util[_0xf97d('0x2')]('%s%s','agent',i),'encryption':_0xf97d('0xb'),'avpf':_0xf97d('0xb'),'force_avp':_0xf97d('0xb'),'icesupport':_0xf97d('0xb'),'dtlsenable':_0xf97d('0xb'),'dtlsverify':'no','dtlscertfile':_0xf97d('0xc'),'dtlsprivatekey':_0xf97d('0xd'),'dtlssetup':_0xf97d('0xe'),'callerid':util[_0xf97d('0x2')](_0xf97d('0xf'),util[_0xf97d('0x2')](_0xf97d('0x4'),'agent',i),0xfa0+i)});}db[_0xf97d('0x10')][_0xf97d('0x11')](users)[_0xf97d('0x12')](function(){console[_0xf97d('0x13')](_0xf97d('0x14'));})[_0xf97d('0x15')](function(_0x42eb3c){console[_0xf97d('0x13')](_0x42eb3c);});
\ No newline at end of file
+var _0xaee0=['add\x20user','catch','log','util','../mysqldb','push','format','%s%s','agent','%s%s@xcally.com','password','friend','udp','all','ulaw','yes','/etc/pki/tls/certs/motion.crt','/etc/pki/tls/private/motion.key','actpass','\x22%s\x22\x20<%s>','User','bulkCreate','then'];(function(_0x4b1c98,_0x21c42a){var _0x20c104=function(_0x3ec029){while(--_0x3ec029){_0x4b1c98['push'](_0x4b1c98['shift']());}};_0x20c104(++_0x21c42a);}(_0xaee0,0xe9));var _0x0aee=function(_0x4af01e,_0x543f5c){_0x4af01e=_0x4af01e-0x0;var _0x178c11=_0xaee0[_0x4af01e];return _0x178c11;};'use strict';var util=require(_0x0aee('0x0'));var db=require(_0x0aee('0x1'))['db'];var users=[];for(var i=0x1;i<=0xc8;i+=0x1){users[_0x0aee('0x2')]({'name':util[_0x0aee('0x3')](_0x0aee('0x4'),_0x0aee('0x5'),i),'fullname':util[_0x0aee('0x3')](_0x0aee('0x4'),'agent',i),'email':util['format'](_0x0aee('0x6'),_0x0aee('0x5'),i),'role':_0x0aee('0x5'),'password':_0x0aee('0x7'),'internal':0xfa0+i,'type':_0x0aee('0x8'),'transport':[_0x0aee('0x9'),'ws','wss'],'disallow':[_0x0aee('0xa')],'allow':[_0x0aee('0xb')],'defaultuser':util[_0x0aee('0x3')](_0x0aee('0x4'),_0x0aee('0x5'),i),'encryption':_0x0aee('0xc'),'avpf':'yes','force_avp':_0x0aee('0xc'),'icesupport':_0x0aee('0xc'),'dtlsenable':_0x0aee('0xc'),'dtlsverify':'no','dtlscertfile':_0x0aee('0xd'),'dtlsprivatekey':_0x0aee('0xe'),'dtlssetup':_0x0aee('0xf'),'callerid':util[_0x0aee('0x3')](_0x0aee('0x10'),util[_0x0aee('0x3')](_0x0aee('0x4'),_0x0aee('0x5'),i),0xfa0+i)});}db[_0x0aee('0x11')][_0x0aee('0x12')](users)[_0x0aee('0x13')](function(){console['log'](_0x0aee('0x14'));})[_0x0aee('0x15')](function(_0x32685e){console[_0x0aee('0x16')](_0x32685e);});
\ No newline at end of file