亚洲免费人人妻人人,cao78在线视频,福建一级毛片,91精品视频免费观看,高清另类图片操逼,日本特黄特色大片免费看,超碰欧美人人澡曰曰澡夜夜泛

獻(xiàn)給新手的滲透思路 -電腦資料

電腦資料 時(shí)間:2019-01-01 我要投稿
【www.msguai.com - 電腦資料】

    一.ldap滲透技巧

    1.cat /etc/nsswitch

    看看密碼登錄策略我們可以看到使用了file ldap模式

    2.less /etc/ldap.conf

    base u=People,dc=unix-center,dc=net

    找到ou,dc,dc設(shè)置

    3.查找管理員信息

    匿名方式

    ldapsearch -x -D "cn=administrator,cn=People,dc=unix-center,dc=net" -b "cn=administrator,cn=People,dc=unix-center,dc=net" -h 192.168.2.2

    有密碼形式

    ldapsearch -x -W -D "cn=administrator,cn=People,dc=unix-center,dc=net" -b "cn=administrator,cn=People,dc=unix-center,dc=net" -h 192.168.2.2

    4.查找10條用戶記錄

    ldapsearch -h 192.168.2.2 -x -z 10 -p 指定端口

    實(shí)戰(zhàn):

    1.cat /etc/nsswitch

    看看密碼登錄策略我們可以看到使用了file ldap模式

    2.less /etc/ldap.conf

    base u=People,dc=unix-center,dc=net

    找到ou,dc,dc設(shè)置

    3.查找管理員信息

    匿名方式

    ldapsearch -x -D "cn=administrator,cn=People,dc=unix-center,dc=net" -b "cn=administrator,cn=People,dc=unix-center,dc=net" -h 192.168.2.2

    有密碼形式

    ldapsearch -x -W -D "cn=administrator,cn=People,dc=unix-center,dc=net" -b "cn=administrator,cn=People,dc=unix-center,dc=net" -h 192.168.2.2

    4.查找10條用戶記錄

    ldapsearch -h 192.168.2.2 -x -z 10 -p 指定端口

    滲透實(shí)戰(zhàn):

    1.返回所有的屬性

    ldapsearch -h 192.168.7.33 -b "dc=ruc,dc=edu,dc=cn" -s sub "objectclass=*"

    version: 1

    dn: dc=ruc,dc=edu,dc=cn

    dc: ruc

    objectClass: domain

    dn: uid=manager,dc=ruc,dc=edu,dc=cn

    uid: manager

    objectClass: inetOrgPerson

    objectClass: organizationalPerson

    objectClass: person

    objectClass: top

    sn: manager

    cn: manager

    dn: uid=superadmin,dc=ruc,dc=edu,dc=cn

    uid: superadmin

    objectClass: inetOrgPerson

    objectClass: organizationalPerson

    objectClass: person

    objectClass: top

    sn: superadmin

    cn: superadmin

    dn: uid=admin,dc=ruc,dc=edu,dc=cn

    uid: admin

    objectClass: inetOrgPerson

    objectClass: organizationalPerson

    objectClass: person

    objectClass: top

    sn: admin

    cn: admin

    dn: uid=dcp_anonymous,dc=ruc,dc=edu,dc=cn

    uid: dcp_anonymous

    objectClass: top

    objectClass: person

    objectClass: organizationalPerson

    objectClass: inetOrgPerson

    sn: dcp_anonymous

    cn: dcp_anonymous

    2.查看基類

    bash-3.00# ldapsearch -h 192.168.7.33 -b "dc=ruc,dc=edu,dc=cn" -s base "objectclass=*" | more

    version: 1

    dn: dc=ruc,dc=edu,dc=cn

    dc: ruc

    objectClass: domain

    3.查找

    bash-3.00# ldapsearch -h 192.168.7.33 -b "" -s base "objectclass=*"

    version: 1

    dn:

    objectClass: top

    namingContexts: dc=ruc,dc=edu,dc=cn

    supportedExtension: 2.16.840.1.113730.3.5.7

    supportedExtension: 2.16.840.1.113730.3.5.8

    supportedExtension: 1.3.6.1.4.1.4203.1.11.1

    supportedExtension: 1.3.6.1.4.1.42.2.27.9.6.25

    supportedExtension: 2.16.840.1.113730.3.5.3

    supportedExtension: 2.16.840.1.113730.3.5.5

    supportedExtension: 2.16.840.1.113730.3.5.6

    supportedExtension: 2.16.840.1.113730.3.5.4

    supportedExtension: 1.3.6.1.4.1.42.2.27.9.6.1

    supportedExtension: 1.3.6.1.4.1.42.2.27.9.6.2

    supportedExtension: 1.3.6.1.4.1.42.2.27.9.6.3

    supportedExtension: 1.3.6.1.4.1.42.2.27.9.6.4

    supportedExtension: 1.3.6.1.4.1.42.2.27.9.6.5

    supportedExtension: 1.3.6.1.4.1.42.2.27.9.6.6

    supportedExtension: 1.3.6.1.4.1.42.2.27.9.6.7

    supportedExtension: 1.3.6.1.4.1.42.2.27.9.6.8

    supportedExtension: 1.3.6.1.4.1.42.2.27.9.6.9

    supportedExtension: 1.3.6.1.4.1.42.2.27.9.6.23

    supportedExtension: 1.3.6.1.4.1.42.2.27.9.6.11

    supportedExtension: 1.3.6.1.4.1.42.2.27.9.6.12

    supportedExtension: 1.3.6.1.4.1.42.2.27.9.6.13

    supportedExtension: 1.3.6.1.4.1.42.2.27.9.6.14

    supportedExtension: 1.3.6.1.4.1.42.2.27.9.6.15

    supportedExtension: 1.3.6.1.4.1.42.2.27.9.6.16

    supportedExtension: 1.3.6.1.4.1.42.2.27.9.6.17

    supportedExtension: 1.3.6.1.4.1.42.2.27.9.6.18

    supportedExtension: 1.3.6.1.4.1.42.2.27.9.6.19

    supportedExtension: 1.3.6.1.4.1.42.2.27.9.6.21

    supportedExtension: 1.3.6.1.4.1.42.2.27.9.6.22

    supportedExtension: 1.3.6.1.4.1.42.2.27.9.6.24

    supportedExtension: 1.3.6.1.4.1.1466.20037

    supportedExtension: 1.3.6.1.4.1.4203.1.11.3

    supportedControl: 2.16.840.1.113730.3.4.2

    supportedControl: 2.16.840.1.113730.3.4.3

    supportedControl: 2.16.840.1.113730.3.4.4

    supportedControl: 2.16.840.1.113730.3.4.5

    supportedControl: 1.2.840.113556.1.4.473

    supportedControl: 2.16.840.1.113730.3.4.9

    supportedControl: 2.16.840.1.113730.3.4.16

    supportedControl: 2.16.840.1.113730.3.4.15

    supportedControl: 2.16.840.1.113730.3.4.17

最新文章