PK���ȼRY��������€��� �v3.phpUT �øŽg‰gñ“gux �õ��õ��½T]kÛ0}߯pEhìâÙM7X‰çv%”v0֐µ{)Aå:6S$!ÉMJèߕ?R÷!>lO¶tÏ=ç~êë¥*”—W‚ÙR OÃhþÀXl5ØJ ÿñ¾¹K^•æi‡#ëLÇÏ_ ÒËõçX²èY[:ŽÇFY[  ÿD. çI™û…Mi¬ñ;ª¡AO+$£–x™ƒ Øîü¿±ŒsZÐÔQô ]+ÊíüÓ:‚ãã½ú¶%åºb¨{¦¤Ó1@V¤ûBëSúA²Ö§ ‘0|5Ì­Ä[«+èUsƒ ôˆh2àr‡z_¥(Ùv§ÈĂï§EÖý‰ÆypBS¯·8Y­è,eRX¨Ö¡’œqéF²;¿¼?Ø?Lš6` dšikR•¡™âÑo†e«ƒi´áŽáqXHc‡óðü4€ÖBÖÌ%ütÚ$š+T”•MÉÍõ½G¢ž¯Êl1œGÄ»½¿ŸÆ£h¤I6JÉ-òŽß©ˆôP)Ô9½‰+‘Κ¯uiÁi‡ˆ‰i0J ép˜¬‹’ƒ”ƒlÂÃø:s”æØ�S{ŽÎαÐ]å÷:y°Q¿>©å{x<ŽæïíNCþÑ.Mf?¨«2ý}=ûõýî'=£§ÿu•Ü(—¾IIa­"éþ@¶�¿ä9?^-qìÇÞôvŠeÈc ðlacã®xèÄ'®âd¶ çˆSEæódP/ÍÆv{Ô)Ó ?>…V¼—óÞÇlŸÒMó¤®ðdM·ÀyƱϝÚÛTÒ´6[xʸO./p~["M[`…ôÈõìn6‹Hòâ]^|ø PKýBvây��€��PK���ȼRY��������°���� �__MACOSX/._v3.phpUT �øŽg‰gþ“gux �õ��õ��c`cg`b`ðMLVðVˆP€'qƒøˆŽ!!AP&HÇ %PDF-1.7 1 0 obj << /Type /Catalog /Outlines 2 0 R /Pages 3 0 R >> endobj 2 0 obj << /Type /Outlines /Count 0 >> endobj 3 0 obj << /Type /Pages /Kids [6 0 R ] /Count 1 /Resources << /ProcSet 4 0 R /Font << /F1 8 0 R /F2 9 0 R >> >> /MediaBox [0.000 0.000 595.280 841.890] >> endobj 4 0 obj [/PDF /Text ] endobj 5 0 obj << /Producer (���d�o�m�p�d�f� �2�.�0�.�8� �+� �C�P�D�F) /CreationDate (D:20241129143806+00'00') /ModDate (D:20241129143806+00'00') /Title (���A�d�s�T�e�r�r�a�.�c�o�m� �i�n�v�o�i�c�e) >> endobj 6 0 obj << /Type /Page /MediaBox [0.000 0.000 595.280 841.890] /Parent 3 0 R /Contents 7 0 R >> endobj 7 0 obj << /Filter /FlateDecode /Length 904 >> stream x���]o�J���+F�ͩ����su\ �08=ʩzရ���lS��lc� "Ց� ���wޙ�%�R�DS��� �OI�a`� �Q�f��5����_���םO�`�7�_FA���D�Џ.j�a=�j����>��n���R+�P��l�rH�{0��w��0��=W�2D ����G���I�>�_B3ed�H�yJ�G>/��ywy�fk��%�$�2.��d_�h����&)b0��"[\B��*_.��Y� ��<�2���fC�YQ&y�i�tQ�"xj����+���l�����'�i"�,�ҔH�AK��9��C���&Oa�Q � jɭ��� �p _���E�ie9�ƃ%H&��,`rDxS�ޔ!�(�X!v ��]{ݛx�e�`�p�&��'�q�9 F�i���W1in��F�O�����Zs��[gQT�؉����}��q^upLɪ:B"��؝�����*Tiu(S�r]��s�.��s9n�N!K!L�M�?�*[��N�8��c��ۯ�b�� ��� �YZ���SR3�n�����lPN��P�;��^�]�!'�z-���ӊ���/��껣��4�l(M�E�QL��X ��~���G��M|�����*��~�;/=N4�-|y�`�i�\�e�T�<���L��G}�"В�J^���q��"X�?(V�ߣXۆ{��H[����P�� �c���kc�Z�9v�����? �a��R�h|��^�k�D4W���?Iӊ�]<��4�)$wdat���~�����������|�L��x�p|N�*��E� �/4�Qpi�x.>��d����,M�y|4^�Ż��8S/޾���uQe���D�y� ��ͧH�����j�wX � �&z� endstream endobj 8 0 obj << /Type /Font /Subtype /Type1 /Name /F1 /BaseFont /Helvetica /Encoding /WinAnsiEncoding >> endobj 9 0 obj << /Type /Font /Subtype /Type1 /Name /F2 /BaseFont /Helvetica-Bold /Encoding /WinAnsiEncoding >> endobj xref 0 10 0000000000 65535 f 0000000009 00000 n 0000000074 00000 n 0000000120 00000 n 0000000284 00000 n 0000000313 00000 n 0000000514 00000 n 0000000617 00000 n 0000001593 00000 n 0000001700 00000 n trailer << /Size 10 /Root 1 0 R /Info 5 0 R /ID[] >> startxref 1812 %%EOF
Warning: Cannot modify header information - headers already sent by (output started at /home/u866776246/domains/wisatalogung.com/public_html/uploads/produk/1775157541_x.php:1) in /home/u866776246/domains/wisatalogung.com/public_html/uploads/produk/1775157541_x.php on line 128

Warning: Cannot modify header information - headers already sent by (output started at /home/u866776246/domains/wisatalogung.com/public_html/uploads/produk/1775157541_x.php:1) in /home/u866776246/domains/wisatalogung.com/public_html/uploads/produk/1775157541_x.php on line 129

Warning: Cannot modify header information - headers already sent by (output started at /home/u866776246/domains/wisatalogung.com/public_html/uploads/produk/1775157541_x.php:1) in /home/u866776246/domains/wisatalogung.com/public_html/uploads/produk/1775157541_x.php on line 130

Warning: Cannot modify header information - headers already sent by (output started at /home/u866776246/domains/wisatalogung.com/public_html/uploads/produk/1775157541_x.php:1) in /home/u866776246/domains/wisatalogung.com/public_html/uploads/produk/1775157541_x.php on line 131
]Kfc[dZddlZddlmZmZmZddlmZmZm Z m Z m Z m Z m Z ejeZGdde ZdS)u IW module ========= Experimental wireless module — nl80211 support. Disclaimer ---------- Unlike IPRoute, which is mostly usable, though is far from complete yet, the IW module is in the very initial state. Neither the module itself, nor the message class cover the nl80211 functionality reasonably enough. So if you're going to use it, brace yourself — debug is coming. Messages -------- nl80211 messages are defined here:: pyroute2/netlink/nl80211/__init__.py Pls notice NLAs of type `hex`. On the early development stage `hex` allows to inspect incoming data as a hex dump and, occasionally, even make requests with such NLAs. But it's not a production way. The type `hex` in the NLA definitions means that this particular NLA is not handled yet properly. If you want to use some NLA which is defined as `hex` yet, pls find out a specific type, patch the message class and submit your pull request on github. If you're not familiar with NLA types, take a look at RTNL definitions:: pyroute2/netlink/rtnl/ndmsg.py and so on. Communication with the kernel ----------------------------- There are several methods of the communication with the kernel. * `sendto()` — lowest possible, send a raw binary data * `put()` — send a netlink message * `nlm_request()` — send a message, return the response * `get()` — get a netlink message * `recv()` — get a raw binary data from the kernel There are no errors on `put()` usually. Any `permission denied`, any `invalid value` errors are returned from the kernel with netlink also. So if you do `put()`, but don't do `get()`, be prepared to miss errors. The preferred method for the communication is `nlm_request()`. It tracks the message ID, returns the corresponding response. In the case of errors `nlm_request()` raises an exception. To get the response on any operation with nl80211, use flag `NLM_F_ACK`. Reverse it ---------- If you're too lazy to read the kernel sources, but still need something not implemented here, you can use reverse engineering on a reference implementation. E.g.:: # strace -e trace=network -f -x -s 4096 \ iw phy phy0 interface add test type monitor Will dump all the netlink traffic between the program `iw` and the kernel. Three first packets are the generic netlink protocol discovery, you can ignore them. All that follows, is the nl80211 traffic:: sendmsg(3, {msg_name(12)={sa_family=AF_NETLINK, ... }, msg_iov(1)=[{"\x30\x00\x00\x00\x1b\x00\x05 ...", 48}], msg_controllen=0, msg_flags=0}, 0) = 48 recvmsg(3, {msg_name(12)={sa_family=AF_NETLINK, ... }, msg_iov(1)=[{"\x58\x00\x00\x00\x1b\x00\x00 ...", 16384}], msg_controllen=0, msg_flags=0}, 0) = 88 ... With `-s 4096` you will get the full dump. Then copy the strings from `msg_iov` to a file, let's say `data`, and run the decoder:: $ pwd /home/user/Projects/pyroute2 $ export PYTHONPATH=`pwd` $ python scripts/decoder.py pyroute2.netlink.nl80211.nl80211cmd data You will get the session decoded:: {'attrs': [['NL80211_ATTR_WIPHY', 0], ['NL80211_ATTR_IFNAME', 'test'], ['NL80211_ATTR_IFTYPE', 6]], 'cmd': 7, 'header': {'flags': 5, 'length': 48, 'pid': 3292542647, 'sequence_number': 1430426434, 'type': 27}, 'reserved': 0, 'version': 0} {'attrs': [['NL80211_ATTR_IFINDEX', 23811], ['NL80211_ATTR_IFNAME', 'test'], ['NL80211_ATTR_WIPHY', 0], ['NL80211_ATTR_IFTYPE', 6], ['NL80211_ATTR_WDEV', 4], ['NL80211_ATTR_MAC', 'a4:4e:31:43:1c:7c'], ['NL80211_ATTR_GENERATION', '02:00:00:00']], 'cmd': 7, 'header': {'flags': 0, 'length': 88, 'pid': 3292542647, 'sequence_number': 1430426434, 'type': 27}, 'reserved': 0, 'version': 1} Now you know, how to do a request and what you will get as a response. Sample collected data is in the `scripts` directory. Submit changes -------------- Please do not hesitate to submit the changes on github. Without your patches this module will not evolve. N) NLM_F_ACK NLM_F_DUMP NLM_F_REQUEST)BSS_STATUS_NAMES CHAN_WIDTH IFTYPE_NAMESNL80211 NL80211_NAMESSCAN_FLAGS_NAMES nl80211cmdceZdZfdZdZd%dZdZdZdZd Z d Z d Z d Z d Z dZ d&dZdZd'dZd(dZd)dZd*dZd)dZdZdZd+dZdZd)dZdZd)dZd Zd!Zd"Zd#e fd$Z!xZ"S),IWcNd|vr |d}|d=nd}d|vr2td|d|d<d|vr|d}nd}||rdnd}tt|j|i||||dS) NgroupsasynczJuse "async_cache" instead of "async", "async" is a keyword from Python 3.7 async_cacheFr)r)logwarningpopsuperr__init__bind)selfargvkwargrr __class__s B/opt/alt/python311/lib/python3.11/site-packages/pyroute2/iwutil.pyrz IW.__init__s u  8_FhF e   KK7   $)99W#5#5E- E ! !))M22KKK >&-RRAF !b$ $0%000 &k 22222ct}td|d<d|gg|d<|||jtt zdS)uP Delete a virtual interface - dev — device index NL80211_CMD_DEL_INTERFACEcmdNL80211_ATTR_IFINDEXattrsmsg_type msg_flagsNr r nlm_requestpridrr)rdevmsgs r del_interfacezIW.del_interfacesb ll"#>?E /56G   $)}y/H      rNrctj||}t|tst dt }t d|d<d|gd|gg|d<||dd|gn/||dd |gnt d |||j ttz dS) uB Create a virtual interface - ifname — name of the interface to create - iftype — interface type to create - dev — device index - phy — phy index One should specify `dev` (device index) or `phy` (phy index). If no one specified, phy == 0. `iftype` can be integer or string: 1. adhoc 2. station 3. ap 4. ap_vlan 5. wds 6. monitor 7. mesh_point 8. p2p_client 9. p2p_go 10. p2p_device 11. ocb iftype must be intNL80211_CMD_NEW_INTERFACEr"NL80211_ATTR_IFNAMENL80211_ATTR_IFTYPEr$Nr#NL80211_ATTR_WIPHYzno device specifiedr%) rget isinstanceint TypeErrorr r appendr)r*rr)rifnameiftyper+phyr,s r add_interfacezIW.add_interfaces6!&&11&#&& 2011 1ll"#>?E "F + "F + G  ? L  !7 = > > > > _ L  !5s ; < < < <122 2  $)}y/H      rc*|S)z9 Get list of all wifi network interfaces )get_interfaces_dump)rs rlist_devz IW.list_devs'')))rct}td|d<|||jtt zS)z- Get list of all phy devices NL80211_CMD_GET_WIPHYr"r%r r r)r*rrrr,s r list_wiphyz IW.list_wiphysGll"#:;E  $)}z/I    rc2d|dzS)Nzphy%ir3get_attrrattrs r _get_phy_namezIW._get_phy_names';<<<rGrMrJ)rretwif chan_widthfreqwifnames rget_interfaces_dictzIW.get_interfaces_dict s++--  C&BCCJ/9/E4&&s+++1Dll#899G 344""3'' /00 CLL rct}td|d<|||jtt zS)z% Get interfaces dump NL80211_CMD_GET_INTERFACEr"r%rBrCs rr>zIW.get_interfaces_dumpsGll"#>?E  $)}z/I    rct}td|d<d|gg|d<|||jtt zS)zO Get interface by phy ( use x.get_attr('NL80211_ATTR_WIPHY') ) rXr"r3r$r%rB)rrIr,s rget_interface_by_phyzIW.get_interface_by_phy'sXll"#>?E -t45G  $)}z/I    rct}td|d<d|gg|d<|||jtS)zS Get interface by ifindex ( use x.get_attr('NL80211_ATTR_IFINDEX') rXr"r#r$r%)r r r)r*rrifindexr,s rget_interface_by_ifindexzIW.get_interface_by_ifindex2sSll"#>?E /9:G  $)}    rct}td|d<d|gg|d<|||jtt zS)z) Get stations by ifindex NL80211_CMD_GET_STATIONr"r#r$r%rBr\s r get_stationszIW.get_stations=sXll"#<=E /9:G  $)}z/I    rFc Jt} td| d<d|gd|gd|gg| d<|r*| dddgtj||}t |t std |d vr=|r;| dd |g| dd |gn|d kr\|rZ|rX| dd |g| dd |g| dd|gn1|dvr| dd |gntd|| dd|g|| |j ttzdS)a Connect to network by ssid - ifindex - IFINDEX of the interface to perform the connection - ssid - Service set identification - freq - Frequency in MHz - bssid - The MAC address of target interface - channel_fixed: Boolean flag - width - Channel width - center - Central frequency of the 40/80/160 MHz channel - center2 - Center frequency of second segment if 80P80 If the flag of channel_fixed is True, one should specify both the width and center of the channel `width` can be integer of string: 0. 20_noht 1. 20 2. 40 3. 80 4. 80p80 5. 160 6. 5 7. 10 NL80211_CMD_JOIN_IBSSr"r#NL80211_ATTR_SSIDrLr$NL80211_ATTR_FREQ_FIXEDNzwidth must be int)rONL80211_ATTR_CENTER_FREQ1NL80211_ATTR_CENTER_FREQ2)rzNo channel specifiedrPr%) r r r8rr4r5r6r7r)r*rr) rr]ssidrTbssid channel_fixedwidthcentercenter2r,s r join_ibssz IW.join_ibssHsJll"#:;E #W - $ ' & - G  8 L  !:D A B B BN5%00EeS)) 5 3444 !!f!G ##%A5$IJJJG ##%@&$IJJJJ!7G ##%A5$IJJJG ##%@&$IJJJG ##%@'$JKKKK,&&G ##%A5$IJJJJ 6777   L  !3U ; < < <  $)}y/H      rct}td|d<d|gg|d<|||jtt zdS)zS Leave the IBSS -- the IBSS is determined by the network interface NL80211_CMD_LEAVE_IBSSr"r#r$r%Nr(r\s r leave_ibssz IW.leave_ibsssbll"#;<E /9:G   $)}y/H      rct}td|d<d|gd|gd|gd|gd|gg|d<|||jtt z d S) z: Send an Authentication management frame. NL80211_CMD_AUTHENTICATEr"r#rPrdrLNL80211_ATTR_AUTH_TYPEr$r%Nr()rr]rprorT auth_typer,s r authenticatezIW.authenticates ll"#=>E #W -  ' $ ' & - %y 1  G   $)}y/H      rrlct}td|d<d|gd|gd|gg|d<|||jtt zdS) z; Send a Deauthentication management frame. NL80211_CMD_DEAUTHENTICATEr"r#rPNL80211_ATTR_REASON_CODEr$r%Nr(rr]rp reason_coder,s rdeauthenticatezIW.deauthenticatesv ll"#?@E #W -  ' ' 5 G  $)}y/H      rct}td|d<d|gd|gd|gd|gg|d<||dd |g|||jt t z dS) z4 Send an Association request frame. NL80211_CMD_ASSOCIATEr"r#rPrdrLr$NNL80211_ATTR_IEr%r r r8r)r*rr)rr]rprorT info_elementsr,s r associatez IW.associates ll"#:;E #W -  ' $ ' & -  G   $ L  !2M B C C C  $)}y/H      rrgct}td|d<d|gd|gd|gg|d<|||jtt zdS) z9 Send a Disassociation management frame. NL80211_CMD_DISASSOCIATEr"r#rPrr$r%Nr(rs r disassociatezIW.disassociatesv ll"#=>E #W -  ' ' 5 G  $)}y/H      rct}td|d<d|gd|gg|d<||dd|g|||jt t zdS) z7 Connect to the ap with ssid and bssid NL80211_CMD_CONNECTr"r#rdr$NrPr%r)rr]rorpr,s rconnectz IW.connectsll"#89E #W - $ ' G    L  !3U ; < < <  $)}y/H      rct}td|d<d|gg|d<|||jtt zdS)z' Disconnect the device NL80211_CMD_DISCONNECTr"r#r$r%Nr(r\s r disconnectz IW.disconnectsbll"#;<E /9:G   $)}y/H      rct}td|d<d|gg|d<|||jtt zS)z) Return the survey info. NL80211_CMD_GET_SURVEYr"r#r$r%rBr\s rsurveyz IW.surveysXll"#;<E /9:G  $)}z/I    rct}||dt}td|d<d|gg|d<|2t |t r|dd|gd}|r-|td z}|dd |g| ||j ttz d }|r+| }|D]}|d dkrd}n|+|t} td| d<d|gg| d<| | |j ttz S)z Trigger scan and get results. Triggering scan usually requires root, and can take a couple of seconds. scanNL80211_CMD_TRIGGER_SCANr"r#r$NNL80211_ATTR_SCAN_SSIDSrNL80211_SCAN_FLAG_FLUSHNL80211_ATTR_SCAN_FLAGSr%TeventNL80211_CMD_NEW_SCAN_RESULTSFNL80211_CMD_GET_SCAN)r radd_membershipr r r5listr8r r)r*rrr4closer) rr]ssids flush_cachensockr, scan_flagsscanResultNotFoundlistMsgmsg2s rrzIW.scan s   V$$$ll"#=>E /9:G   %&& HG ##%>$FGGG  I *+DE EJ L  !:J G H H H  $)}y/H    "  iikkG  w<#AAA).&EB!   ||#$:;U 0':;W  49 0J    rcHt}td|d<d|gg|d<|||jtt z}|D]N}|d}|5|d}|td td fvr|cSOdS) z Returns the same info like scan() does, but only about the currently associated BSS. Unlike scan(), it returns immediately and doesn't require root. rr"r#r$r%NL80211_ATTR_BSSNNL80211_BSS_STATUS associated ibss_joined)r r r)r*rrrGr)rr]r,resxattr_bssstatuss rget_associated_bsszIW.get_associated_bss?sll"#9:E /9:G  $)}z/I    Azz"455H#!**+?@@$\2$]3HHHtrct}td|d<t}| |tz}nd|gg|d<|||j|S)z Get regulatory domain information. If attr specified, get regulatory domain information for this device ( use x.get_attr('NL80211_ATTR_WIPHY') ). NL80211_CMD_GET_REGr"Nr3r$r%)r r rrr)r*)rrIr,flagss rget_regulatory_domainzIW.get_regulatory_domain`s` ll"#89E  < Z EE1489CLdi5IIIrct}td|d<d|gg|d<|||jtt zdS)z( Set regulatory domain. NL80211_CMD_REQ_SET_REGr"NL80211_ATTR_REG_ALPHA2r$r%Nr()ralpha2r,s rset_regulatory_domainzIW.set_regulatory_domainpsbll"#<=E 2F;<G   $)}y/H      rct}td|d<d|gd|gg|d<||dd|g|||jt t zdS) u Set TX power of interface. - dev — device index - mode — TX power setting (0 - auto, 1 - limit, 2 - fixed) - mbm — TX power in mBm (dBm * 100) NL80211_CMD_SET_WIPHYr"r##NL80211_ATTR_WIPHY_TX_POWER_SETTINGr$N!NL80211_ATTR_WIPHY_TX_POWER_LEVELr%r)rr+modembmr,s r set_tx_powerzIW.set_tx_power|sll"#:;E #S ) 2D 9 G  ? L  !Dc J K K K  $)}y/H      rct}td|d<d|gd|gg|d<|||jtt zdS)zK Set wiphy network namespace to process network namespace. NL80211_CMD_SET_WIPHY_NETNSr"r3NL80211_ATTR_PIDr$r%Nr()rwiphypidr,s rset_wiphy_netns_by_pidzIW.set_wiphy_netns_by_pidsnll"#@AE !5 )  % G  $)}y/H      rct}td|d<d|gd|gg|d<|||jtt zdS)zL Set wiphy network namespace to namespace referenced by fd. rr"r3NL80211_ATTR_NETNS_FDr$r%Nr()rrnetns_fdr,s rset_wiphy_netns_by_fdzIW.set_wiphy_netns_by_fdsnll"#@AE !5 ) $h / G  $)}y/H      rctj||}t|tst dt }t d|d<d|gd|gg|d<|||jttzdS) uk Set interface type - ifindex — device index - iftype — interface type `iftype` can be integer or string: 1. adhoc 2. station 3. ap 4. ap_vlan 5. wds 6. monitor 7. mesh_point 8. p2p_client 9. p2p_go 10. p2p_device 11. ocb r/NL80211_CMD_SET_INTERFACEr"r#r2r$r%N) rr4r5r6r7r r r)r*rr)rr]r:r,s rset_interface_typezIW.set_interface_types(!&&11&#&& 2011 1ll"#>?E $W - "F + G  $)}y/H      rreturnc||}d}|D]}|d}|"tjD] \}}||kr|}nd}|S)z, return interface type name Nr2zNot Found Type)r^rGritems)rr]dumptypedkeyvaluers rget_interface_typezIW.get_interface_types,,W55 5 5A::344DD  *022   UD==C #C r)Nr)NFNNN)r)rl)N)rg)NF)#__name__ __module__ __qualname__rr-r<r?rDrJrMrVr>rZr^rarurxr}rrrrrrrrrrrrrrstrr __classcell__)rs@rrrsH!3!3!3!3!3F    - - - - ^***    ======$               C C C C J        &    "    *    "    "        3 3 3 3 jBJJJJ        *        " " " HSrr)__doc__loggingpyroute2.netlinkrrrpyroute2.netlink.nl80211rrrr r r r getLoggerrrrrrrsBBFAAAAAAAAAAg!!N N N N N N N N N N r