ReverseDDPAI

From WikiWiki
Jump to navigation Jump to search

DDPAI Mini3

  • runs liteos
  • runs webapi via VYCam which is the main binary of the ddpai.
  • Runs the webserver, captures the video, and can act as telnet server.
API_RequestCertificate
API_GetBaseInfo
API_GetMailboxData
API_Logout
API_SetBindedUser
API_SetBindedPwd
API_SetDeviceEnableStatus
API_GetDeviceEnableStatus
API_GetDeviceNetworkType
API_SuperDownload: donnot switch, current mode(%d), playbacke(%d)\n
API_SyncDate
API_GetModuleState
API_GetAutoTestResult
API_GetTestdate
API_SetTimeForUpdateOrderNum
API_ClearModuleFlags
API_PlayModeQuery
API_CameraCapture
API_AuthModify
API_AuthQuery
API_Reboot
API_RestartWifi
API_GeneralSave
API_GeneralQuery
API_UpdFileMd5
API_SetLogonInfo
API_GetLogonRecord
API_GetStorageInfo
API_MmcFormat
API_SuperDownload
API_ButtonMatch
API_WpsConnect
API_GpsFileListReq
API_GetResolution
API_GetNormalTimerStatus
API_SetNormalTimerStatus
API_SetLockFile
API_SetRouterAuth
API_GetRouterStatus
API_S3_AuthSet
API_S3_AuthGet
API_UpdateCamera
API_GetLegalInfo
API_GetCarCustomVersion
API_GetSdBadClus
API_SetDefaultCfg
API_SetUuid
API_SetSn
API_EquipGSensor
API_EquipGetTime
API_EquipSpeaker
API_EquipAudioLoop
API_EquipLED
API_EquipResetBtn
API_EquipPhotoBtn
API_EquipMuteBtn
API_EquipResetCfg
API_EquipButtonMatch
API_EquipLegalSet
API_EquipGetSensorVer
API_EquipOpenRtsp
API_RecordOpt
API_HwinfoQuery
API_SetTestResult
API_GetGsensorState
API_EquipACCState
API_EquipGetTempetureAndHumidity
API_EquipGetUnbindKey
API_EquipUnbindUser
API_EquipGetBindStatus
API_EquipODBTest
API_EquipGSensorRegulate
API_CheckGSensorRegulate
API_EquipSetEvent
API_EquipWifiIperf
API_GetEachFileSize
API_UnbindBanMa

http://193.168.0.1/query_devinfo
{"mfr":"vYou Technology","type":1,"model":"DDPai Mini3","p2p_uuid":"","nickname":"vYou","mac":"10:A4:BE:xx:xx:xx"}


http://193.168.0.1/vcam/cmd.cgi?cmd=API_GetBaseInfo
{"errcode":0,"data":"{\"nickname\":\"vYou\",\"ordernum\":\"0530Mini3\",\"model\":\"DDPai Mini3_Overseas\",\"version\":\"v4.2.x.xx\",\"mcu_version\":\"\",\"uuid\":\"xxxx2017-xxxx-xxxx-xxxx-000000021482\",\"sn\":\"\",\"macaddr\":\"10:a4:be:xx:xx:xx\",\"chipsn\":\"\",\"legalret\":1,\"btnver\":3,\"totalruntime\":283040,\"sdcapacity\":30xxxxxx,\"sdspare\":17xxxxx,\"sdbrand\":\"Hynix\",\"hbbitrate\":12288,\"hsbitrate\":2048,\"mbbitrate\":12288,\"msbitrate\":2048,\"lbbitrate\":10240,\"lsbitrate\":2048,\"default_user\":\"xxxxx\",\"is_neeed_update\":0,\"edog_model\":\"\",\"edog_version\":\"\",\"edog_status\":2}"}



http://193.168.0.1/vcam/cmd.cgi?cmd=APP_PlaybackListReq
{"errcode":0,"data":"{\"num\":225,\"file\":[{\"index\":\"45\",\"name\":\"S_2018xxxxxxxxxx_686_30.mp4\",\"type\":\"45\",\"starttime\":\"1541671480\",\"endtime\":\"1541672166\",\"event\":\"7\",\"matchval\":\"0\",\"parentfile\":\"\"},{\"index\":\"44\",\"name\":\"S_2018xxxxxxxxxx_2940_30.mp4\",\"type\":\"45\",\"starttime\":\"1541673088\",\"endtime\":\"1541676028\",\"event\":\"7\",\"matchval\":\"0\",\"parentfile\":\"\"},{\"index\":\"43\",\"name\":\"S_2018xxxxxxxxxx_2940_30.mp4\",\"type\":\"45\",\"starttime\":\"1541676028\",\"endtime\":\"1541678968\",\"event\":\"7\",\"matchval\":\"0\",\"parentfile\":\"\"},{\"index\":\"42\",\"name\":\"S_2018xxxxxxxxxx_2970_30.mp4\",\"type\":\"45\",\"starttime\":\"1541678969\",\"endtime\":\"1541681939\",\"event\":\"7\",\"matchval\":\"0\",\"parentfile\":\"\"}]}"}



/app/bin
VYCam
VYUpdate





10/11/2018  21:27    <DIR>          .
10/11/2018  21:27    <DIR>          ..
29/03/2018  19:16    <DIR>          app
29/03/2018  19:16    <DIR>          bin
29/03/2018  19:16    <DIR>          boot
29/03/2018  19:16    <DIR>          dev
29/03/2018  19:16    <DIR>          etc
29/03/2018  19:16    <DIR>          home
29/03/2018  19:16    <DIR>          komod
29/03/2018  19:16    <DIR>          lib
10/11/2018  21:27                 0 linuxrc
29/03/2018  19:16    <DIR>          liteos
29/03/2018  19:16             1 341 mkimg.rootfs
29/03/2018  19:16               431 mknod_console
29/03/2018  19:16    <DIR>          mnt
29/03/2018  19:16    <DIR>          nfsroot
29/03/2018  19:16    <DIR>          opt
29/03/2018  19:16    <DIR>          proc
29/03/2018  19:16    <DIR>          root
29/03/2018  19:16    <DIR>          sbin
29/03/2018  19:16    <DIR>          share
29/03/2018  19:16    <DIR>          sys
29/03/2018  19:16    <DIR>          tmp
29/03/2018  19:16    <DIR>          usr
29/03/2018  19:16    <DIR>          usrcfg
29/03/2018  19:16    <DIR>          var
10/11/2018  20:40    <DIR>          [SYS]