PORT STATE SERVICE REASON
9042/tcp open cassandra-native Apache Cassandra 3.10 or later (native protocol versions 3/v3, 4/v4, 5/v5-beta)
9160/tcp open cassandra syn-ack
枚举
手动
pipinstallcqlshcqlsh<IP>#Basic info enumerationSELECTcluster_name,thrift_version,data_center,partitioner,native_protocol_version,rack,release_versionfromsystem.local;#Keyspace enumerationSELECTkeyspace_nameFROMsystem.schema_keyspaces;desc<Keyspace_name>#Decribe that DBdescsystem_auth#Describe the DB called system_authSELECT*fromsystem_auth.roles; #Retreive that info, can contain credential hashesSELECT*fromlogdb.user_auth; #Can contain credential hashesSELECT*fromlogdb.user;SELECT*fromconfiguration."config";