Skip to content

@sskaje

sskaje's blog, study & research on technology

Fake Linux Login Log

By @sskaje
Link: https://sskaje.me/2017/01/fake-linux-login-log/

Linux saves its login log as utmp file, you can read more on wikipedia: https://en.wikipedia.org/wiki/Utmp.

Linux uses ‘/var/log/wtmp’ store its success login log, and ‘/var/log/btmp’ bad trials.

I wrote a page parsing utmp/wtmp/btmp file, and another convert linux last command output to utmp file, this is useful if you want to fake login log.

Here are links:
Parse UTMP file: upload your wtmp, btmp, utmp, and read it field by field.
UTMP file to last output: run commands like last -f xxx.
Generate UTMP File from Linux Output: fake your utmp here!

BTW, you can man utmp on linux to read utmp file format.

Fake Linux Login Log by @sskaje: https://sskaje.me/2017/01/fake-linux-login-log/
Link to this post!

Related posts:

  1. Apple signed fake device attributes?
  2. Cisco AnyConnect Client for OS X/Windows/Linux (Version 3.1.05160)
  3. Use linux glibc headers on OSX
  4. SSH Chroot jails
Author sskajePosted on January 4, 2017Categories Linux, 杂七杂八Tags btmp, clear last login, clear login log, fake login log, fake wtmp, utmp, wtmp

Post navigation

Previous Previous post: Virtualize macOS Sierra on Ubuntu (Vmware)
Next Next post: SoftEther Error 13 with HAProxy or SNIProxy

Categories

  • Hadoop相关
    • CDH
    • HDFS
    • Hive
    • Impala
    • PrestoDB
    • Shark
    • Spark
  • 学习研究
    • Mallory
    • PHP
    • Protocol
  • 安全
    • PKI
    • 逆向
      • 算法、协议
  • 操作系统相关
    • Android
    • iOS
    • Linux
    • OS X
    • Windows
  • 未分类
  • 杂七杂八
    • Integer Factorization
    • IP段
    • MacPorts
    • SSH
    • UBNT
  • 笔记
    • Network
      • DNS
      • IPv6
      • Port Proxy
      • VPN
      • 路由、设备
    • 工具、命令
  • 项目、研究
    • 12306
    • Apple
    • Cloudera Mirror
    • JSON-RPC
    • MQTT
    • PHP-MiTM
    • Rsyslog
    • 微信
    • 迅雷

Recent Posts

  • JPEG 自动旋转
  • WireGuard as a “Switch”
  • List of macOS Installer Download Links
  • Docker Desktop for Windows on Server 2019 Essentials
  • Azure Site-to-Site VPN with Dynamic Client IP
  • MacPorts xcodebuild error
  • Unity Package Manager 协议分析
  • Sonatype Nexus 3 as Unity Package Mirror
  • MacOS VPN Auto Add Routes
  • Protected: 歌华电视在线看

About me

  • sskaje@bitbucket
  • sskaje@facebook
  • sskaje@github
  • sskaje@twitter
  • sskaje@weibo
  • 不和谐因素 sskaje.blogspot.com

Friends'

  • bianbian coding life
  • Laien's blog
  • Linxinsnow
  • qatang
  • SecNiu
  • Sunshow Life
  • xuyannan's blog
  • 透明de面具

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org

Pages

  • About Me
  • GSPxy
  • Invitation Codes
  • iOS SDK Archive
  • Resume
@sskaje Proudly powered by WordPress