Built motion from commit (unavailable).|2.5.4
[motion2.git] / server / config / seedUsers.js
index 2fa541a..3c62880 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x93a7=['friend','udp','wss','ulaw','yes','/etc/pki/tls/certs/motion.crt','/etc/pki/tls/private/motion.key','\x22%s\x22\x20<%s>','User','bulkCreate','then','log','add\x20user','catch','../mysqldb','push','format','%s%s','agent','%s%s@xcally.com'];(function(_0x1f4449,_0xe1b863){var _0x1c860a=function(_0x89df4f){while(--_0x89df4f){_0x1f4449['push'](_0x1f4449['shift']());}};_0x1c860a(++_0xe1b863);}(_0x93a7,0x86));var _0x793a=function(_0xf8996a,_0x347764){_0xf8996a=_0xf8996a-0x0;var _0x35ad11=_0x93a7[_0xf8996a];return _0x35ad11;};'use strict';var util=require('util');var db=require(_0x793a('0x0'))['db'];var users=[];for(var i=0x1;i<=0xc8;i+=0x1){users[_0x793a('0x1')]({'name':util[_0x793a('0x2')](_0x793a('0x3'),_0x793a('0x4'),i),'fullname':util['format']('%s%s',_0x793a('0x4'),i),'email':util[_0x793a('0x2')](_0x793a('0x5'),'agent',i),'role':_0x793a('0x4'),'password':'password','internal':0xfa0+i,'type':_0x793a('0x6'),'transport':[_0x793a('0x7'),'ws',_0x793a('0x8')],'disallow':['all'],'allow':[_0x793a('0x9')],'defaultuser':util[_0x793a('0x2')]('%s%s',_0x793a('0x4'),i),'encryption':_0x793a('0xa'),'avpf':_0x793a('0xa'),'force_avp':_0x793a('0xa'),'icesupport':_0x793a('0xa'),'dtlsenable':'yes','dtlsverify':'no','dtlscertfile':_0x793a('0xb'),'dtlsprivatekey':_0x793a('0xc'),'dtlssetup':'actpass','callerid':util[_0x793a('0x2')](_0x793a('0xd'),util['format'](_0x793a('0x3'),_0x793a('0x4'),i),0xfa0+i)});}db[_0x793a('0xe')][_0x793a('0xf')](users)[_0x793a('0x10')](function(){console[_0x793a('0x11')](_0x793a('0x12'));})[_0x793a('0x13')](function(_0x32a31d){console[_0x793a('0x11')](_0x32a31d);});
\ No newline at end of file
+var _0x8e45=['add\x20user','catch','util','../mysqldb','push','format','%s%s','agent','%s%s@xcally.com','password','friend','wss','all','yes','actpass','\x22%s\x22\x20<%s>','User','bulkCreate','then'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0x8e45,0x158));var _0x58e4=function(_0x37fe6d,_0x5468d1){_0x37fe6d=_0x37fe6d-0x0;var _0x3d0bd3=_0x8e45[_0x37fe6d];return _0x3d0bd3;};'use strict';var util=require(_0x58e4('0x0'));var db=require(_0x58e4('0x1'))['db'];var users=[];for(var i=0x1;i<=0xc8;i+=0x1){users[_0x58e4('0x2')]({'name':util[_0x58e4('0x3')](_0x58e4('0x4'),_0x58e4('0x5'),i),'fullname':util[_0x58e4('0x3')]('%s%s',_0x58e4('0x5'),i),'email':util[_0x58e4('0x3')](_0x58e4('0x6'),_0x58e4('0x5'),i),'role':_0x58e4('0x5'),'password':_0x58e4('0x7'),'internal':0xfa0+i,'type':_0x58e4('0x8'),'transport':['udp','ws',_0x58e4('0x9')],'disallow':[_0x58e4('0xa')],'allow':['ulaw'],'defaultuser':util[_0x58e4('0x3')](_0x58e4('0x4'),_0x58e4('0x5'),i),'encryption':'yes','avpf':'yes','force_avp':'yes','icesupport':_0x58e4('0xb'),'dtlsenable':_0x58e4('0xb'),'dtlsverify':'no','dtlscertfile':'/etc/pki/tls/certs/motion.crt','dtlsprivatekey':'/etc/pki/tls/private/motion.key','dtlssetup':_0x58e4('0xc'),'callerid':util[_0x58e4('0x3')](_0x58e4('0xd'),util[_0x58e4('0x3')](_0x58e4('0x4'),_0x58e4('0x5'),i),0xfa0+i)});}db[_0x58e4('0xe')][_0x58e4('0xf')](users)[_0x58e4('0x10')](function(){console['log'](_0x58e4('0x11'));})[_0x58e4('0x12')](function(_0x1bcb54){console['log'](_0x1bcb54);});
\ No newline at end of file